DSP lab 4 part 1 done

This commit is contained in:
Adog64 2024-04-17 20:02:38 -04:00
parent 9aa8810f92
commit df7d52f4b1
14 changed files with 165 additions and 62 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

View File

@ -2,7 +2,12 @@
\@writefile{toc}{\contentsline {section}{\numberline {1}Results \& Discussion}{1}{}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {1.1}The Discrete Fourier Transform (DFT)}{1}{}\protected@file@percent }
\newlabel{eqn:DFT_def}{{1}{1}}
\newlabel{eqn:DFT_N_point}{{3}{1}}
\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces The $N$-point DFT of $x[n]$, where $N=8$\relax }}{1}{}\protected@file@percent }
\providecommand*\caption@xref[2]{\@setref\relax\@undefined{#1}}
\newlabel{fig:N_point_DFT}{{1}{1}}
\@writefile{toc}{\contentsline {subsection}{\numberline {1.2}The Z-Transform}{1}{}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {1.3}The Inverse Z-Transform}{1}{}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {2}Conclusions}{1}{}\protected@file@percent }
\gdef \@abspage@last{2}
\newlabel{fig:9_point_DFT}{{\caption@xref {fig:9_point_DFT}{ on input line 62}}{2}}
\@writefile{toc}{\contentsline {subsection}{\numberline {1.3}The Inverse Z-Transform}{2}{}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {2}Conclusions}{2}{}\protected@file@percent }
\gdef \@abspage@last{3}

View File

@ -1,5 +1,5 @@
# Fdb version 4
["pdflatex"] 1712868153.51878 "lab-4.tex" "lab-4.pdf" "lab-4" 1712868154.22707 0
["pdflatex"] 1713397604.9034 "lab-4.tex" "lab-4.pdf" "lab-4" 1713397605.40716 0
"/usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map" 1577235249 3524 cb3e574dea2d1052e39280babc910dc8 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex7.tfm" 1246382020 1004 54797486969f23fa377b128694d548df ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex8.tfm" 1246382020 988 bdf658c3bfc2d96d3c8b02cfc1c94c20 ""
@ -9,6 +9,7 @@
"/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm" 1246382020 908 2921f8a10601f252058503cc6570e581 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm5.tfm" 1246382020 940 75ac932a52f80982a9f8ea75d03a34cf ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm7.tfm" 1246382020 940 228d6584342e91276bf566bcf9716b83 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx10.tfm" 1136768653 1328 c834bbb027764024c09d3d2bf908b5f0 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm" 1136768653 1324 c910af8c371558dc20f2d7822f66fe64 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmex10.tfm" 1136768653 992 662f679a0b3d2d53c1b94050fdaa3f50 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm" 1136768653 1524 4414a8315f39513458b80dfc63bff03a ""
@ -21,16 +22,19 @@
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm" 1136768653 1124 6c73e740cf17375f03eec0ee63599741 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy6.tfm" 1136768653 1116 933a60c408fc0a863a92debe84b2d294 ""
"/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy8.tfm" 1136768653 1120 8b7d695260f3cff42e636090a8002094 ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb" 1248133631 34811 78b52f49e893bcba91bd7581cdc144c0 ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb" 1248133631 32080 340ef9bf63678554ee606688e7b5339d ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb" 1248133631 30251 6afa5cb1d0204815a708a080681d4674 ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb" 1248133631 36299 5f9df58c2139e7edcf37c8fca4bd384d ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb" 1248133631 37912 77d683123f92148345f3fc36a38d9ab1 ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb" 1248133631 36281 c355509802a035cadc5f15869451dcee ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb" 1248133631 35752 024fb6c41858982481f6968b5fc26508 ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb" 1248133631 32722 d7379af29a190c3f453aba36302ff5a9 ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb" 1248133631 32362 179c33bbf43f19adbb3825bb4e36e57a ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb" 1248133631 32762 224316ccc9ad3ca0423a14971cfa7fc1 ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb" 1248133631 32569 5e5ddc8df908dea60932f3c484a54c0d ""
"/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy7.pfb" 1248133631 32716 08e384dc442464e7285e891af9f45947 ""
"/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii" 1684972800 71627 94eb9990bed73c364d7f53f960cc8c5b ""
"/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii" 1689984000 71627 94eb9990bed73c364d7f53f960cc8c5b ""
"/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty" 1644112042 7237 bdd120a32c8fdb4b433cf9ca2e7cd98a ""
"/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty" 1572645307 1057 525c2192b5febbd8c1f662c9468335bb ""
"/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty" 1359763108 5949 3f3fd50a8cc94c3d4cbf4fc66cd3df1c ""
@ -41,11 +45,11 @@
"/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty" 1654720880 88393 1adf6fa3f245270d06e3d4f8910f7fc5 ""
"/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty" 1654720880 4474 f04cd1cc7bd76eb033e6fb12eb6a0d77 ""
"/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty" 1654720880 2444 70065bddd85997dc1fd0bb7ae634e5fa ""
"/usr/share/texlive/texmf-dist/tex/latex/base/article.cls" 1684972800 20144 7555b7429d80bef287ebb82117811acc ""
"/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo" 1684972800 8448 e0391042ca0932ede1098ae14ada60ba ""
"/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty" 1647548653 54291 b8e5c600d4aa37b48a740dd2a6c26163 ""
"/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty" 1647548653 71241 d2cd3a1c5acef9cb31f945b93c0bb6e3 ""
"/usr/share/texlive/texmf-dist/tex/latex/caption/subcaption.sty" 1645391520 11546 6c5257d230d8c5626812b45bc2f31212 ""
"/usr/share/texlive/texmf-dist/tex/latex/base/article.cls" 1689984000 20144 d5ecf0a5140c8d8d8b72cbe86e320eff ""
"/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo" 1689984000 8448 c33a4e1cb35cee9b33c2b21033b73e39 ""
"/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty" 1678653221 55778 14d5c99aa26410e440820bb9ea5b8b3a ""
"/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty" 1678653221 71836 1a735454ad10692452eb2f2fc37f3865 ""
"/usr/share/texlive/texmf-dist/tex/latex/caption/subcaption.sty" 1678653221 12462 ecf33913ce1e8012075d24e1f47f0d9b ""
"/usr/share/texlive/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty" 1579991033 13886 d1306dcf79a944f6988e688c1785f9ce ""
"/usr/share/texlive/texmf-dist/tex/latex/float/float.sty" 1137110151 6749 16d2656a1984957e674b149555f1ea1d ""
"/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty" 1578002852 41601 9cf6c5257b1bc7af01a58859749dd37a ""
@ -55,16 +59,18 @@
"/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty" 1654720880 8010 a8d949cbdbc5c983593827c9eec252e1 ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty" 1654720880 2671 7e67d78d9b88c845599a85b2d41f2e39 ""
"/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty" 1654720880 4023 293ea1c16429fc0c4cf605f4da1791a9 ""
"/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def" 1666901542 30426 f2fb69fcda4dc35ed0b7dee211bce679 ""
"/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def" 1673989714 30429 213676d4c7327a21d91ddaed900e7b81 ""
"/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg" 1279039959 678 4792914a8f45be57bb98413425e4c7af ""
"/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg" 1585170648 1830 e31effa752c61538383451ae21332364 ""
"/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty" 1585170648 80964 64e57373f36316e4a09b517cbf1aba2e ""
"/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty" 1585170648 77022 ee25ce086f4a79d8cf73bac6f94c02a5 ""
"/usr/share/texlive/texmf-dist/web2c/texmf.cnf" 1684972800 40326 aba987258e6d6b6da5dec3a727ea174b ""
"/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1695741510.34335 4547801 12750a1f41d88f5207b57129561a9960 ""
"/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1710008668 7862952 9b0773ccc0e23d0927f5089e19dad72c ""
"lab-4.aux" 1712868154.12384 624 2b49c4280bb10a574a6516adeb498d39 "pdflatex"
"lab-4.tex" 1712868150.81282 1211 a753e4a309c61117bc073e6d8f8b94b3 ""
"/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg" 1677530001 1829 d8258b7d94f5f955e70c623e525f9f45 ""
"/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty" 1677530001 80947 75a96bb4c9f40ae31d54a01d924df2ff ""
"/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty" 1677530001 77021 d05e9115c67855816136d82929db8892 ""
"/usr/share/texlive/texmf-dist/web2c/texmf.cnf" 1689984000 40900 887e0dc8cac988a9e9c574af364cf837 ""
"/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1705885142.27725 4602615 ac1019cb4c4ba39710c2cf7f752b378d ""
"/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1710776733 7871985 a923b025655ef6c2f0aa4b5ff9642a36 ""
"N8_point_dft.png" 1713396700.20856 8055 2712e128d09ff6efb2b3cef56bce3f57 ""
"Q9_point_dft.png" 1713396700.28255 8056 ef1fdc91ea1ae1f2be0c7d2ddb1100c5 ""
"lab-4.aux" 1713397605.34396 992 74caf1691685b324f2bae301ad979c44 "pdflatex"
"lab-4.tex" 1713397586.19804 2816 4ecaf9a6b1282d8082cae8e2f043e170 ""
(generated)
"lab-4.aux"
"lab-4.log"

View File

@ -316,13 +316,27 @@ INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam5.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm7.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm5.tfm
INPUT ./N8_point_dft.png
INPUT ./N8_point_dft.png
INPUT N8_point_dft.png
INPUT ./N8_point_dft.png
INPUT ./N8_point_dft.png
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx10.tfm
INPUT ./Q9_point_dft.png
INPUT ./Q9_point_dft.png
INPUT Q9_point_dft.png
INPUT ./Q9_point_dft.png
INPUT ./Q9_point_dft.png
INPUT lab-4.aux
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb
INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy7.pfb

View File

@ -1,15 +1,15 @@
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/CVE-2023-32700 patched) (preloaded format=pdflatex 2024.3.9) 11 APR 2024 16:42
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex 2024.3.18) 17 APR 2024 19:46
entering extended mode
restricted \write18 enabled.
file:line:error style messages enabled.
%&-line parsing enabled.
**lab-4.tex
(./lab-4.tex
LaTeX2e <2022-06-01> patch level 5
L3 programming layer <2022-12-17> (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-02-22> (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
File: size10.clo 2022/07/02 v1.4n Standard LaTeX file (size option)
)
\c@part=\count185
\c@section=\count186
@ -19,12 +19,12 @@ File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
\c@subparagraph=\count190
\c@figure=\count191
\c@table=\count192
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\abovecaptionskip=\skip48
\belowcaptionskip=\skip49
\bibindent=\dimen140
) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2022/04/08 v2.17n AMS math features
\@mathmargin=\skip49
\@mathmargin=\skip50
For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
@ -81,8 +81,8 @@ LaTeX Info: Redefining \Relbar on input line 971.
\totwidth@=\dimen148
\lineht@=\dimen149
\@envbody=\toks19
\multlinegap=\skip50
\multlinetaggap=\skip51
\multlinegap=\skip51
\multlinetaggap=\skip52
\mathdisplay@stack=\toks20
LaTeX Info: Redefining \[ on input line 2953.
LaTeX Info: Redefining \] on input line 2954.
@ -125,18 +125,18 @@ File: pdftex.def 2022/09/22 v1.2b Graphics/color driver for pdftex
\lst@lineno=\count276
\lst@maxwidth=\dimen155
(/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty
File: lstmisc.sty 2020/03/24 1.8d (Carsten Heinz)
File: lstmisc.sty 2023/02/27 1.9 (Carsten Heinz)
\c@lstnumber=\count277
\lst@skipnumbers=\count278
\lst@framebox=\box54
) (/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg
File: listings.cfg 2020/03/24 1.8d listings configuration
File: listings.cfg 2023/02/27 1.9 listings configuration
))
Package: listings 2020/03/24 1.8d (Carsten Heinz)
Package: listings 2023/02/27 1.9 (Carsten Heinz)
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty
Package: caption 2022/03/01 v3.6b Customizing captions (AR)
Package: caption 2023/03/12 v3.6j Customizing captions (AR)
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty
Package: caption3 2022/03/17 v2.3b caption3 kernel (AR)
Package: caption3 2023/03/12 v2.4 caption3 kernel (AR)
\caption@tempdima=\dimen156
\captionmargin=\dimen157
\caption@leftmargin=\dimen158
@ -151,8 +151,10 @@ Package caption Info: Standard document class detected.
\c@continuedfloat=\count280
Package caption Info: listings package is loaded.
) (/usr/share/texlive/texmf-dist/tex/latex/caption/subcaption.sty
Package: subcaption 2022/01/07 v1.5 Sub-captions (AR)
Package: subcaption 2023/02/19 v1.6 Sub-captions (AR)
Package caption Info: New subtype `subfigure' on input line 239.
\c@subfigure=\count281
Package caption Info: New subtype `subtable' on input line 239.
\c@subtable=\count282
) (/usr/share/texlive/texmf-dist/tex/latex/float/float.sty
Package: float 2001/11/08 v1.3d Float enhancements (AL)
@ -181,7 +183,7 @@ Package: iftex 2022/02/03 v1.0f TeX engine tests
\Gm@layoutvoffset=\dimen171
\Gm@dimlist=\toks25
) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
File: l3backend-pdftex.def 2022-10-26 L3 backend support: PDF output (pdfTeX)
File: l3backend-pdftex.def 2023-01-16 L3 backend support: PDF output (pdfTeX)
\l__color_backend_stack_int=\count287
\l__pdf_internal_box=\box57
) (./lab-4.aux)
@ -268,20 +270,54 @@ LaTeX Font Info: Trying to load font information for U+msb on input line 21.
File: umsb.fd 2013/01/14 v3.01 AMS symbols B
) [1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [1] (./lab-4.aux) )
Here is how much of TeX's memory you used:
5542 strings out of 476182
89942 string characters out of 5796582
1852793 words of memory out of 6000000
25820 multiletter control sequences out of 15000+600000
519842 words of font info for 62 fonts, out of 8000000 for 9000
1137 hyphenation exceptions out of 8191
55i,6n,63p,256b,261s stack positions out of 10000i,1000n,20000p,200000b,200000s
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy7.pfb>
Output written on lab-4.pdf (2 pages, 96988 bytes).
PDF statistics:
56 PDF objects out of 1000 (max. 8388607)
33 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
Underfull \hbox (badness 10000) in paragraph at lines 31--36
[]
Package amsmath Warning: Foreign command \over;
(amsmath) \frac or \genfrac should be used instead
(amsmath) on input line 40.
<N8_point_DFT.png, id=9, 462.528pt x 346.896pt>
File: N8_point_DFT.png Graphic file (type png)
<use N8_point_DFT.png>
Package pdftex.def Info: N8_point_DFT.png used on input line 54.
(pdftex.def) Requested size: 234.8775pt x 176.15768pt.
Package caption Warning: \label without proper reference on input line 62.
See the caption package documentation for explanation.
LaTeX Warning: Reference `fig:9_point_DFT' on page 1 undefined on input line 58.
<Q9_point_DFT.png, id=11, 462.528pt x 346.896pt>
File: Q9_point_DFT.png Graphic file (type png)
<use Q9_point_DFT.png>
Package pdftex.def Info: Q9_point_DFT.png used on input line 61.
(pdftex.def) Requested size: 234.8775pt x 176.15768pt.
LaTeX Warning: `h' float specifier changed to `ht'.
[1 <./N8_point_dft.png>] [2 <./Q9_point_dft.png>] (./lab-4.aux)
LaTeX Warning: There were undefined references.
)
Here is how much of TeX's memory you used:
5601 strings out of 476041
90928 string characters out of 5793174
1860388 words of memory out of 6000000
26020 multiletter control sequences out of 15000+600000
520150 words of font info for 63 fonts, out of 8000000 for 9000
1137 hyphenation exceptions out of 8191
57i,8n,63p,320b,347s stack positions out of 10000i,1000n,20000p,200000b,200000s
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy7.pfb>
Output written on lab-4.pdf (3 pages, 146760 bytes).
PDF statistics:
79 PDF objects out of 1000 (max. 8388607)
45 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
11 words of extra memory for PDF output out of 10000 (max. 10000000)

View File

@ -10,7 +10,7 @@
\usepackage[margin=1in]{geometry}
\title{}
\title{Discrete Fourier Transforms and Z-Transforms}
\author{Aidan Sharpe \& Elise Heim}
@ -26,16 +26,43 @@
\subsection{The Discrete Fourier Transform (DFT)}
Given a signal, $x[n]$, it's $N$-point DFT is given by
\begin{equation}
X_k = \sum_{n=0}^{N-1} x[n] W_N^{kn}
X_k = \sum_{n=0}^{N-1} x[n] W_N^{kn},
\label{eqn:DFT_def}
\end{equation}
where $W_N = e^{-j2\pi/N}$. The discrete Fourier transform is the sampled version of the discrete time Fourier transform (DTFT), which is a continuous function. More specifically, the $N$-point DFT contains $N$ samples from the continuous DTFT.
For example, consider the signal $x[n] = (-1)^n$ for $0 \le n \le N-1$. By evaluating the sum shown in equation \ref{eqn:DFT_def}, the $N$-point DFT of $x[n]$ is found to be
\\
\\
For example, consider the signal $x[n] = (-1)^n$ for $0 \le n \le N-1$. By evaluating the sum shown in equation \ref{eqn:DFT_def} as a truncated geometric series, the $N$-point DFT of $x[n]$ can be found. All truncated geometric series are evaluated as
\begin{equation}
X_k = {1 + e^{-j2\pi k} \over 1 + e^{-j2\pi k / N}}.
\label{eqn:DFT_ex}
\sum_{k=0}^{n-1} a r^k =
\begin{cases}
an & r = 1 \\
a\left({1 - r^n \over 1 - r}\right) & r \ne 1
\end{cases},
\end{equation}
where $r$ is the common ratio between adjacent terms. For the $N$-point DFT of $x[n]$, the common ratio is $-W_N^k$, which takes a value of 1 for $k = {N\over2}$. Therefore, the $N$-point DFT of $x[n]$ is
\begin{equation}
X[k] = \begin{cases}
N & k = {N \over 2} \\
\left({1 - (-W_N^k)^N \over 1 - (-W_N^k)}\right) & k \ne {N \over 2}
\end{cases}.
\label{eqn:DFT_N_point}
\end{equation}
The $N$-point DFT of $x[n]$, where $N=8$ is seen in figure \ref{fig:N_point_DFT}. It only has a non-zero value for $k={N\over2}=4$. This is the case for all even-number-point DFTs. Therefore only odd-number-point DFTs should be used.
\begin{figure}[h]
\center
\includegraphics[width=0.5\textwidth]{N8_point_DFT.png}
\caption{The $N$-point DFT of $x[n]$, where $N=8$}
\label{fig:N_point_DFT}
\end{figure}
For example, the 9-point DFT of $x[n]$, where $N=8$ is seen in figure \ref{fig:9_point_DFT}. While equation \ref{eqn:DFT_N_point} cannot be used because there are a different number of samples for the DFT and the input signal, the overall DFT is more useful than the 8-point DFT.
\begin{figure}[h]
\center
\includegraphics[width=0.5\textwidth]{Q9_point_DFT.png}
\label{fig:9_point_DFT}
\end{figure}
\subsection{The Z-Transform}
Given a discrete signal, $x[n]$, its z-transform is given by

View File

@ -4,21 +4,36 @@ import matplotlib.pyplot as plt
N = 8
# Analytic DFT
'''
k = np.arange(N)
W_N = np.exp(-2j*np.pi*k/N)
plt.stem(k, -W_N)
plt.xlabel("$k$")
plt.ylabel("$W_N$")
plt.show()
'''
# N=8
n = np.arange(N)
x = (-1.0)**n
# 8-point DFT, N=8
DFT_8_point = np.fft.fft(x, 8)
DFT_9_point = np.fft.fft(x, 9)
plt.stem(abs(DFT_8_point))
plt.show()
plt.savefig("N8_point_dft.png")
plt.close()
# 9-point DFT, N=8
DFT_9_point = np.fft.fft(x, 9)
plt.stem(abs(DFT_9_point))
plt.savefig("Q9_point_dft.png")
plt.close()
# 9-point DFT, N=9
N = 9
n = np.arange(N)
x = (-1.0)**n
DFT_9_point = np.fft.fft(x, 9)
plt.stem(abs(DFT_9_point))
plt.savefig("N9_point_dft.png")
plt.show()