{"id":110,"date":"2023-12-12T05:07:01","date_gmt":"2023-12-12T05:07:01","guid":{"rendered":"https:\/\/neilfoxman.com\/?page_id=110"},"modified":"2024-08-23T04:56:49","modified_gmt":"2024-08-23T04:56:49","slug":"discrete-signal-transforms","status":"publish","type":"page","link":"https:\/\/neilfoxman.com\/?page_id=110","title":{"rendered":"Common Discrete Transforms and Examples"},"content":{"rendered":"\n<p>The examples below are generally worked out for the Z Transform as it has the most generality that can be applied to the Fourier Series or the Fourier Transform.  If one transform has any specific notes, it will be noted.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Convolution_LTI_System\"><\/span>Convolution \/ LTI System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><a href=\"https:\/\/neilfoxman.com\/?page_id=112\">Recall<\/a> that the intent of using these transforms is to make it easier to conceptualize how convolution will affect an input signal where the input signal is a sum of complex exponentials.<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] = \\sum_q a_q z_q^n &amp;\\rightarrow y[n] = \\sum_q a_q H(z_q) z_q^n \\\\<br>H(z) &amp;= \\sum_{n=-\\infty}^{\\infty} h[n] z^{-n} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Fourier_Series\"><\/span>Fourier Series<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The system eigenvalue (frequency response) is calculated from using the eigenfunction $z = e^{j k \\Omega_0}$<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>H(e^{j k \\Omega_0}) &amp;= \\sum_{n=-\\infty}^{\\infty} h[n] (e^{j k \\Omega_0})^{-n} \\\\<br>H(e^{j k \\Omega_0}) &amp;= \\sum_{n=-\\infty}^{\\infty} h[n] (e^{-j k \\Omega_0 n}) \\\\<br>\\\\<br>x[n] &amp;= \\sum_{k=\\langle N \\rangle} a_k e^{j k \\Omega_0 n} \\\\<br>\\\\<br>y[n] &amp;=  \\sum_{k=\\langle N \\rangle} H(e^{j k \\Omega_0}) a_k e^{j k \\Omega_0 n} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Note that the signal $y[n]$ can then be represented by a new sum<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>y[n] &amp;= \\sum_{k=\\langle N \\rangle} b_k e^{j k \\Omega_0 n} \\\\<br>\\\\<br>b_k &amp;= H(e^{j k \\Omega_0}) a_k \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Note also that the Fourier Series analysis equation<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>a_k &amp;= \\frac{1}{N} \\sum_{n = \\langle N \\rangle} x[n] e^{-j k \\Omega_0 n}<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>has nearly the same form as the Eigenvalue<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>H(e^{j k \\Omega_0}) &amp;= \\sum_{n=-\\infty}^{\\infty} h[n] (e^{-j k \\Omega_0 n}) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>but for the Fourier Series, these are not identical.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Z_Transform\"><\/span>Z Transform<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>For the Z Transform we use the generic complex eigenfunction where $z = r e^{j \\Omega}$.  For LTI systems<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>H(z) &amp;= \\sum_{n=-\\infty}^{\\infty} h[n] z^{-n} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>From the synthesis equation, <a href=\"https:\/\/neilfoxman.com\/?page_id=112\">we found earlier<\/a> we may express an input and output signal as<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] &amp;= \\frac{1}{2 \\pi j} \\oint_{\\Omega = \\langle 2\\pi \\rangle} X(z) z^{n-1} dz \\\\<br>y[n] &amp;= \\frac{1}{2 \\pi j} \\oint_{\\Omega = \\langle 2\\pi \\rangle} Y(z) z^{n-1} dz \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>However, because the input to the system is a sum (path integral) of complex exponentials, $z$, then we can also say that the output is<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>y[n] &amp;= \\frac{1}{2 \\pi j} \\oint_{\\Omega = \\langle 2\\pi \\rangle} H(z) \\cdot X(z) z^{n-1} dz \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>By comparing these two equations for $y[n]$, we can better define what the scaling factor $Y(z)$ is.<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>Y(z) &amp;= X(z) H(z) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>The key takeaway is that the output of a system is simply the Z Transform of the input signal multiplied by the Z Transform of the System Impulse Response. Condensing this to a more familiar form<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] &amp;\\stackrel{\\mathcal{Z}}{\\leftrightarrow} X(z) \\\\<br>h[n] &amp;\\stackrel{\\mathcal{Z}}{\\leftrightarrow} H(z) \\\\<br>y[n] = x[n] * h[n] &amp;\\stackrel{\\mathcal{Z}}{\\leftrightarrow} Y(z) = X(z) H(z) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Another helpful takeaway is that an LTI system gain can be defined by<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>H(z) = \\frac{Y(z)}{X(z)}<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>The numerator of $H(z)$ contains information on the zeros of the system<\/p>\n\n\n\n<p>The denominator of $H(z)$ contains information on the poles of the system<\/p>\n\n\n\n<p>The magnitude and phase of $H(z)$ when $|z| = 1$ show the frequency response and phase response of the system.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Unit_Impulse\"><\/span>Unit Impulse<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Fourier_Series-2\"><\/span>Fourier Series<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>$$<br>\\begin{align}<br>a_k &amp;= \\frac{1}{N} \\sum_{n = \\langle N \\rangle} \\delta[n] e^{-j k \\Omega_0 n} \\\\<br>a_k &amp;= \\frac{1}{N} \\delta[0] x[n] e^{-j k \\Omega_0 \\cdot 0} \\\\<br>a_k &amp;= \\frac{1}{N} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Z_Transform-2\"><\/span>Z Transform<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] &amp;= \\delta[n] \\\\<br>\\\\<br>X(z) &amp;= \\sum_{n=-\\infty}^{\\infty} \\delta[n] z^{-n} \\\\<br>X(z) &amp;= \\delta[0] z^{0} \\\\<br>X(z) &amp;= 1 \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>ROC is entire $z$ plane.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Unit_Step\"><\/span>Unit Step<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>$$<br>x[n] = \\cases{<br>\\begin{align}<br>1 &amp;&amp;&amp;n \\ge 0 \\\\<br>0 &amp;&amp;&amp;n &lt; 0 \\\\<br>\\end{align}<br>}<br>$$<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] = u[n] \\\\<br>\\\\<br>X(z) = \\sum_{n=-\\infty}^{\\infty} x[n] z^{-n} \\\\<br>X(z) = \\sum_{n=0}^{\\infty} z^{-n} \\\\<br>X(z) = \\sum_{n=0}^{\\infty} (z^{-1})^n \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Recognizing this as a geometric series<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>X(z) = \\frac{1}{1 &#8211; z^{-1}} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>ROC is defined by<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>|z^{-1}| &lt; 1 \\\\<br>1 &lt; |z| \\\\<br>|z| &gt; 1 \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Ideal_Lowpass_Filter\"><\/span>Ideal Lowpass Filter<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Fourier_Transform\"><\/span>Fourier Transform<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The ideal LPF has the following frequency response.<\/p>\n\n\n\n<p>$$<br>X(e^{j \\Omega}) = \\cases{<br>\\begin{align}<br>1 &amp;&amp;&amp;|\\Omega| \\leq \\Omega_c \\\\<br>0 &amp;&amp;&amp;\\Omega_c &lt; |\\Omega| \\leq \\pi \\\\<br>\\end{align}<br>}<br>$$<\/p>\n\n\n\n<p>From the <a href=\"https:\/\/neilfoxman.com\/?page_id=112#Discrete_Time_Fourier_Transform\">Synthesis Equation<\/a>, we can then find<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] &amp;= \\frac{1}{2 \\pi}\\int_{2 \\pi} X(e^{j \\Omega}) e^{j \\Omega n} d \\Omega \\\\<br><br>x[n] &amp;= \\frac{1}{2 \\pi}\\int_{-\\Omega_c}^{\\Omega_c} e^{j \\Omega n} d \\Omega \\\\<br><br>x[n] &amp;= \\frac{1}{2 \\pi} \\left[ \\frac{1}{j n} e^{j \\Omega n} \\right]_{-\\Omega_c}^{\\Omega_c} \\\\<br><br>x[n] &amp;= \\frac{1}{2j \\pi n} \\left[ e^{j \\Omega n} \\right]_{-\\Omega_c}^{\\Omega_c} \\\\<br><br>x[n] &amp;= \\frac{1}{2j \\pi n} \\left[ e^{j \\Omega_c n} &#8211; e^{-j \\Omega_c n} \\right] \\\\<br><br>x[n] &amp;= \\frac{1}{2j \\pi n} 2 j \\sin( \\Omega_c n) \\\\<br><br>x[n] &amp;= \\frac{\\sin( \\Omega_c n)}{\\pi n} \\\\<br><br>x[n] &amp;= \\frac{\\Omega_c}{\\pi} \\frac{\\sin( \\Omega_c n)}{\\Omega_c n} \\\\<br><br>x[n] &amp;= \\frac{\\Omega_c}{\\pi} sinc(\\Omega_c n) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"sin\"><\/span>$\\sin$<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Fourier_Series-3\"><\/span>Fourier Series<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] &amp;= \\sin(\\Omega_0 n) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Recall that the discrete frequency $\\Omega_0 = \\frac{2 \\pi M}{N}$ so we can rewrite this signal as<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] &amp;= \\sin \\left( (2 \\pi M \/ N) n \\right) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>which can then be decomposed into complex exponentials as<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] &amp;= \\frac{1}{2j} e^{j (2 \\pi M \/ N) n} + \\frac{-1}{2j} e^{- j (2 \\pi M \/ N) n} \\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Comparing this result to the Synthesis equation<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] &amp;= \\sum_{k = \\langle N \\rangle} a_k e^{j k \\Omega_{0} n} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>We can fit this form when<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>k \\Omega_0 &amp;= \\frac{2 \\pi M}{N} \\\\<br>k &amp;= \\frac{2 \\pi M}{\\Omega_0 N} \\\\<br>k &amp;= M \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>So the Fourier Series is then<\/p>\n\n\n\n<p>$$<br>a_k = \\cases{<br>\\begin{align}<br>\\frac{1}{2j} &amp;&amp;&amp;k = M, M \\pm N, M \\pm 2N, \\dots \\\\<br>\\frac{-1}{2j} &amp;&amp;&amp;k = -M, -M \\pm N, -M \\pm 2N, \\dots \\\\<br>0 &amp;&amp;&amp;\\text{otherwise} \\\\<br>\\end{align}<br>}<br>$$<\/p>\n\n\n\n<p>In other words there is a positive spike at $k=M$ and a negative spike at $k=-M$ and that pattern repeats every $N$.<\/p>\n\n\n\n<p>This is discussed more at length in the sampling section.<\/p>\n\n\n\n<p>ex: $\\sin(2 \\pi \\cdot (1\/5) \\cdot n)$<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d611d3d6c71&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d611d3d6c71\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"933\" height=\"381\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/neilfoxman.com\/wp-content\/uploads\/2024\/01\/image-20220503211216615.png\" alt=\"\" class=\"wp-image-421\" srcset=\"https:\/\/neilfoxman.com\/wp-content\/uploads\/2024\/01\/image-20220503211216615.png 933w, https:\/\/neilfoxman.com\/wp-content\/uploads\/2024\/01\/image-20220503211216615-300x123.png 300w, https:\/\/neilfoxman.com\/wp-content\/uploads\/2024\/01\/image-20220503211216615-768x314.png 768w\" sizes=\"auto, (max-width: 933px) 100vw, 933px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>ex: $\\sin(2 \\pi \\cdot (3\/5) \\cdot n)$<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d611d3d73ee&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d611d3d73ee\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"953\" height=\"390\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/neilfoxman.com\/wp-content\/uploads\/2024\/01\/image-20220503211403685.png\" alt=\"\" class=\"wp-image-422\" srcset=\"https:\/\/neilfoxman.com\/wp-content\/uploads\/2024\/01\/image-20220503211403685.png 953w, https:\/\/neilfoxman.com\/wp-content\/uploads\/2024\/01\/image-20220503211403685-300x123.png 300w, https:\/\/neilfoxman.com\/wp-content\/uploads\/2024\/01\/image-20220503211403685-768x314.png 768w\" sizes=\"auto, (max-width: 953px) 100vw, 953px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Z_Transform-3\"><\/span>Z Transform<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] &amp;= a^n \\sin \\left( \\Omega_0 n \\right) u[n] \\\\<br>\\\\<br>X(z) &amp;= \\sum_{n=-\\infty}^{\\infty} a^n \\sin \\left( \\Omega_0 n \\right) u[n] z^{-n} \\\\<br><br>X(z) &amp;= \\sum_{n=0}^{\\infty} a^n \\sin \\left( \\Omega_0 n \\right) z^{-n} \\\\<br><br>X(z) &amp;= \\sum_{n=0}^{\\infty} a^n \\left( \\frac{1}{2j} e^{j \\Omega_0 n} + \\frac{-1}{2j} e^{- j \\Omega_0 n} \\right) z^{-n} \\\\<br><br>X(z) &amp;= \\frac{1}{2j} \\sum_{n=0}^{\\infty} \\left( a e^{j \\Omega_0} z^{-1} \\right)^n &#8211;  \\frac{1}{2j} \\sum_{n=0}^{\\infty} \\left( a e^{-j \\Omega_0} z^{-1} \\right)^n \\\\<br><br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Recalling the Geometric Series Formula<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\sum_{i=i_1}^{i_2} r^i = \\frac{r^{i_1} &#8211; r^{i_2 + 1}}{1 &#8211; r}<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Then the result<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>X(z) &amp;= \\frac{1}{2j} \\frac{1}{1 &#8211; a e^{j \\Omega_0} z^{-1} } &#8211;  \\frac{1}{2j} \\frac{1}{1 &#8211; a e^{-j \\Omega_0} z^{-1} } \\\\<br><br>X(z) &amp;= \\frac{1}{2j} \\left[ \\frac{1}{1 &#8211; a e^{j \\Omega_0} z^{-1} } &#8211;   \\frac{1}{1 &#8211; a e^{-j \\Omega_0} z^{-1} } \\right] \\\\<br><br>X(z) &amp;= \\frac{1}{2j} \\left[ \\frac{(1 &#8211; a e^{-j \\Omega_0} z^{-1}) &#8211; (1 &#8211; a e^{j \\Omega_0} z^{-1}) }{(1 &#8211; a e^{j \\Omega_0} z^{-1}) (1 &#8211; a e^{-j \\Omega_0} z^{-1} )} \\right] \\\\<br><br>X(z) &amp;= \\frac{1}{2j} \\left[ \\frac{ &#8211; a e^{-j \\Omega_0} z^{-1}  + a e^{j \\Omega_0} z^{-1} }{(1 &#8211; a e^{j \\Omega_0} z^{-1}) (1 &#8211; a e^{-j \\Omega_0} z^{-1} )} \\right] \\\\<br><br>X(z) &amp;= a \\frac{1}{2j} (e^{j \\Omega_0}  &#8211; e^{-j \\Omega_0}) \\left[ \\frac{ z^{-1} }{(1 &#8211; a e^{j \\Omega_0} z^{-1}) (1 &#8211; a e^{-j \\Omega_0} z^{-1} )} \\right] \\\\<br><br>X(z) &amp;= a\\sin(\\Omega_0) \\left[ \\frac{ z^{-1} }{(1 &#8211; a e^{j \\Omega_0} z^{-1}) (1 &#8211; a e^{-j \\Omega_0} z^{-1} )} \\right] \\\\<br><br>\\end{align}<br>$$<\/p>\n\n\n\n<p>is true when the summations converge i.e. when<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>&amp;\\lim_{n \\rightarrow \\infty} \\left( a e^{j \\Omega_0} z^{-1} \\right)^n = 0 \\land \\lim_{n \\rightarrow \\infty} \\left( a e^{-j \\Omega_0} z^{-1} \\right)^n = 0 \\\\<br><br>&amp;\\lim_{n \\rightarrow \\infty} a^n e^{j \\Omega_0 n} z^{-n} = 0 \\land \\lim_{n \\rightarrow \\infty} a^n e^{-j \\Omega_0 n} z^{-n} = 0 \\\\<br><br>&amp;\\lim_{n \\rightarrow \\infty} (a z^{-1})^n = 0 \\\\<br><br>&amp;\\left| a z^{-1} \\right| &lt; 1 \\\\<br><br>&amp;|a| &lt; |z| \\\\<br><br>&amp;|z| &gt; |a| \\\\<br><br>\\end{align}<br>$$<\/p>\n\n\n\n<p>This means that the ROC is a ring starting at radius $a$ and extending out towards infinity.<\/p>\n\n\n\n<p>Note that the z-Transform may be rewritten in several ways.  To better imagine the poles and zeros, we may write<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>X(z) &amp;= a\\sin(\\Omega_0) \\left[ \\frac{z^2}{z^2} \\frac{ z^{-1} }{(1 &#8211; a e^{j \\Omega_0} z^{-1}) (1 &#8211; a e^{-j \\Omega_0} z^{-1} )} \\right] \\\\<br><br>X(z) &amp;= a\\sin(\\Omega_0) \\left[  \\frac{ z }{(z &#8211; a e^{j \\Omega_0} ) (z &#8211; a e^{-j \\Omega_0} )} \\right] \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Alternatively, if we wish to further resolve the denominator we find<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>X(z) &amp;= a \\sin(\\Omega_0) \\left[ \\frac{ z^{-1} }{1 &#8211; a e^{j \\Omega_0} z^{-1} &#8211; a e^{-j \\Omega_0} z^{-1} + a^2 z^{-2} } \\right] \\\\<br><br>X(z) &amp;= a\\sin(\\Omega_0) \\left[ \\frac{ z^{-1} }{1 &#8211; a (e^{j \\Omega_0} + e^{-j \\Omega_0}) z^{-1} + a^2 z^{-2} } \\right] \\\\<br><br>X(z) &amp;= a\\sin(\\Omega_0) \\left[ \\frac{ z^{-1} }{1 &#8211; 2a \\frac{1}{2} (e^{j \\Omega_0} + e^{-j \\Omega_0}) z^{-1} + a^2 z^{-2} } \\right] \\\\<br><br>X(z) &amp;= a\\sin(\\Omega_0) \\left[ \\frac{ z^{-1} }{1 &#8211; 2a \\cos(\\Omega_0) z^{-1} + a^2 z^{-2} } \\right] \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Right-Sided_Exponential\"><\/span>Right-Sided Exponential<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The equations below will first assume the generic signal $x[n] = a^n u[n]$. Note that this analysis will only apply to Fourier Transform and Z Transforms as the signal is inherently aperiodic.<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] &amp;= a^n u[n] \\\\<br>\\\\<br>X(z) &amp;= \\sum_{n=-\\infty}^{\\infty} a^n u[n] z^{-n} \\\\<br>X(z) &amp;= \\sum_{n=0}^{\\infty} a^n z^{-n} \\\\<br>X(z) &amp;= \\sum_{n=0}^{\\infty} (az^{-1})^{n} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Recalling the Geometric Series Formula<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\sum_{i=i_1}^{i_2} r^i = \\frac{r^{i_1} &#8211; r^{i_2 + 1}}{1 &#8211; r}<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>We have<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>X(z) &amp;= \\frac{1}{1-az^{-1}} &amp;&amp;ROC: |az^{-1}| &lt; 1 \\\\<br>X(z) &amp;= \\frac{z}{z-a} &amp;&amp;ROC: |z| &gt; |a| \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Time_Shifting_Property\"><\/span>Time Shifting Property<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Fourier_Series-4\"><\/span>Fourier Series<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] &amp;= \\sum_{k = \\langle N \\rangle} a_k e^{j k \\Omega_0 n} \\\\<br>\\\\<br>x[n-n_0] &amp;= \\sum_{k = \\langle N \\rangle} a_k e^{j k \\Omega_0 (n-n_0)} \\\\<br>x[n-n_0] &amp;= \\sum_{k = \\langle N \\rangle} (e^{-j k \\Omega_0 n_0} a_k) e^{j k \\Omega_0 n} \\\\<br>\\\\<br>x[n] &amp;\\stackrel{\\mathcal{FS}}{\\leftrightarrow} a_k \\\\<br>x[n-n_0] &amp;\\stackrel{\\mathcal{FS}}{\\leftrightarrow} e^{-j k \\Omega_0 n_0} a_k \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Fourier_Transform-2\"><\/span>Fourier Transform<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] &amp;= \\frac{1}{2 \\pi}\\int_{2 \\pi} X(e^{j \\Omega}) e^{j \\Omega n} d \\Omega \\<br>\\\\<br><br>x[n-n_0] &amp;= \\frac{1}{2 \\pi}\\int_{2 \\pi} X(e^{j \\Omega}) e^{j \\Omega (n-n_0)} d \\Omega \\\\<br><br>x[n-n_0] &amp;= \\frac{1}{2 \\pi}\\int_{2 \\pi} \\left[ e^{ -j \\Omega n_0} X(e^{j \\Omega}) \\right] e^{j \\Omega n} d \\Omega \\\\<br><br>\\end{align}<br>$$<\/p>\n\n\n\n<p>So in summary<\/p>\n\n\n\n<p>$$<br>x[n-n_0] \\stackrel{\\mathcal{F}}{\\leftrightarrow} e^{-j \\Omega n_0} X(e^{j \\Omega}) \\\\<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Z_Transform-4\"><\/span>Z Transform<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Starting from the synthesis equation in explicit $z=re^{j\\Omega}$ form<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n] &amp;= \\frac{1}{2 \\pi}\\int_{2 \\pi} X(r e^{j \\Omega}) (r e^{j \\Omega})^n d \\Omega \\\\<br>\\\\<br>x[n-n_0] &amp;= \\frac{1}{2 \\pi}\\int_{2 \\pi} X(r e^{j \\Omega}) (r e^{j \\Omega})^{n-n_0} d \\Omega \\\\<br>x[n-n_0] &amp;= \\frac{1}{2 \\pi}\\int_{2 \\pi} \\left[ (r e^{j \\Omega})^{-n_0} X(r e^{j \\Omega}) \\right] (r e^{j \\Omega})^{n} d \\Omega \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>So in summary<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x[n-n_0] &amp;\\stackrel{\\mathscr{Z}}{\\leftrightarrow} (r e^{j \\Omega})^{-n_0} X(r e^{j \\Omega}) \\\\<br>x[n-n_0] &amp;\\stackrel{\\mathscr{Z}}{\\leftrightarrow} z^{-n_0} X(z) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Note that for this result to be true, then the analysis equation must converge. In general, the ROC is the same as the pre-shifted signal, except in certain cases: <a href=\"https:\/\/neilfoxman.com\/?page_id=112#Region_of_Convergence\">recall<\/a> that the ROC of a left sided or right sided signal may exclude 0 or infinity depending on where the signal starts or ends relative to $n=0$ due to summing positive numbers to infinite exponents.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PulseSquare_Wave\"><\/span>Pulse\/Square Wave<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Fourier_Series-5\"><\/span>Fourier Series<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Assume $N$ is odd for simplicity<\/p>\n\n\n\n<p>$$<br>x[n] = \\cases{<br>\\begin{align}<br>1 &amp;&amp;&amp; |n| \\le N_1 \\\\<br>0 &amp;&amp;&amp; N_1 &lt;|n| \\le (N-1)\/2 \\\\<br>\\end{align}<br>}<br>$$<\/p>\n\n\n\n<p>We can simplify our analysis by imagining a new signal described by<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x'[n] &amp;= x[n] &#8211; x[n-1] \\\\<br>x'[n] &amp;\\stackrel{\\mathcal{FS}}{\\leftrightarrow} a_k&#8217; \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>From the time shifting property, we can find that<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>a_k&#8217; = a_k &#8211; a_k e^{-j k \\Omega_0} \\\\<br>a_k&#8217; = a_k [1 &#8211; e^{-j k \\Omega_0}] \\\\<br>a_k = \\frac{a_k&#8217;}{1 &#8211; e^{-j k \\Omega_0}} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>And from evaluating $x'[n]$ in the time domain (original signal subtracted by the same signal delayed by 1), we have<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x'[n] = \\delta[n+N_1] &#8211; \\delta[n &#8211; (N_1 + 1)] \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Noting that this result is merely time shifted impulses, we can construct the Fourier Series analysis function of $x'[n]$<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>a_k&#8217; &amp;= \\frac{1}{N} e^{j k \\Omega_0 N_1} &#8211; \\frac{1}{N} e^{-j k \\Omega_0 (N_1 + 1)} \\\\<br><br>a_k&#8217; &amp;= \\frac{1}{N} \\left[ e^{j k \\Omega_0 N_1} &#8211; e^{-j k \\Omega_0 (N_1 + 1)} \\right] \\\\<br><br>a_k&#8217; &amp;= \\frac{1}{N} \\left[ e^{j k \\Omega_0 N_1} &#8211; e^{-j k \\Omega_0 N_1} e^{-j k \\Omega_0} \\right] \\\\<br><br>a_k&#8217; &amp;= \\frac{1}{N} (e^{j k \\Omega_0\/2} e^{-j k \\Omega_0\/2}) \\left[ e^{j k \\Omega_0 N_1} &#8211; e^{-j k \\Omega_0 N_1} e^{-j k \\Omega_0} \\right] \\\\<br><br>a_k&#8217; &amp;= \\frac{1}{N} e^{-j k \\Omega_0\/2} \\left[ e^{j k \\Omega_0 N_1} e^{j k \\Omega_0\/2} &#8211; e^{-j k \\Omega_0 N_1} e^{-j k \\Omega_0\/2} \\right] \\\\<br><br>a_k&#8217; &amp;= \\frac{1}{N} e^{-j k \\Omega_0\/2} \\left[ e^{j k \\Omega_0 (N_1 + 1\/2)}  &#8211; e^{-j k \\Omega_0 (N_1 + 1\/2)} \\right] \\\\<br><br>a_k&#8217; &amp;= \\frac{1}{N} e^{-j k \\Omega_0\/2} 2 j \\frac{1}{2j} \\left[ e^{j k \\Omega_0 (N_1 + 1\/2)}  &#8211; e^{-j k \\Omega_0 (N_1 + 1\/2)} \\right] \\\\<br><br>a_k&#8217; &amp;= \\frac{1}{N} e^{-j k \\Omega_0\/2} 2 j \\sin[k \\Omega_0 (N_1 + 1\/2)] \\\\<br><br>\\end{align}<br>$$<\/p>\n\n\n\n<p>And so the original signal is described by<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>a_k &amp;= \\frac{1}{1 &#8211; e^{-j k \\Omega_0}} a_k&#8217; \\\\<br><br>a_k &amp;= \\frac{1}{1 &#8211; e^{-j k \\Omega_0}} \\left[ \\frac{1}{N} e^{-j k \\Omega_0\/2} 2 j \\sin[k \\Omega_0 (N_1 + 1\/2)] \\right] \\\\<br><br>a_k &amp;= \\frac{1}{N} \\frac{1}{e^{j k \\Omega_0\/2}} \\frac{1}{1 &#8211; e^{-j k \\Omega_0}} 2 j \\sin[k \\Omega_0 (N_1 + 1\/2)] \\\\<br><br>a_k &amp;= \\frac{1}{N} \\frac{1}{e^{j k \\Omega_0\/2} &#8211; e^{-j k \\Omega_0\/2}} 2 j \\sin[k \\Omega_0 (N_1 + 1\/2)] \\\\<br><br>a_k &amp;= \\frac{1}{N} \\frac{1\/2j}{1\/2j (e^{j k \\Omega_0\/2} &#8211; e^{-j k \\Omega_0\/2}) } 2 j \\sin[k \\Omega_0 (N_1 + 1\/2)] \\\\<br><br>a_k &amp;= \\frac{1}{N} \\frac{\\sin[k \\Omega_0 (N_1 + 1\/2)]}{\\sin(k \\Omega_0 \/ 2)} \\\\<br>\\end{align}<br>$$<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The examples below are generally worked out for the Z Transform as it has the most generality that can be applied to the Fourier Series or the Fourier Transform. If one transform has any specific notes, it will be noted. Convolution \/ LTI System Recall that the intent of using these transforms is to make [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":251,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-110","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/pages\/110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/neilfoxman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=110"}],"version-history":[{"count":163,"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/pages\/110\/revisions"}],"predecessor-version":[{"id":1719,"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/pages\/110\/revisions\/1719"}],"up":[{"embeddable":true,"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/pages\/251"}],"wp:attachment":[{"href":"https:\/\/neilfoxman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}