{"id":736,"date":"2024-05-30T17:07:29","date_gmt":"2024-05-30T17:07:29","guid":{"rendered":"https:\/\/neilfoxman.com\/?page_id=736"},"modified":"2024-06-24T03:03:53","modified_gmt":"2024-06-24T03:03:53","slug":"continuous-signals","status":"publish","type":"page","link":"https:\/\/neilfoxman.com\/?page_id=736","title":{"rendered":"Continuous Signals"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Complex_Signals\"><\/span>Complex Signals<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Euler_Relations\"><\/span>Euler Relations<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>General form of the Euler Relation is<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>e^{j \\theta} &amp;= \\cos(\\theta) + j \\sin(\\theta) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>This relation can be inverted to yield<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>e^{j(-\\theta)} &amp;= \\cos(-\\theta) + j \\sin(-\\theta) \\\\<br>e^{-j \\theta} &amp;= \\cos(\\theta) &#8211; j \\sin(\\theta) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Isolating $\\cos(\\theta)$ we have<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>e^{j \\theta} &amp;= \\cos(\\theta) + j \\sin(\\theta) \\\\<br>e^{-j \\theta} &amp;= \\cos(\\theta) &#8211; j \\sin(\\theta) \\\\<br>\\\\<br>e^{j \\theta} + e^{-j \\theta} &amp;= 2 \\cos(\\theta) \\\\<br>\\cos(\\theta) &amp;= \\frac{1}{2}\\left[ e^{j\\theta} + e^{-j\\theta}\\right] \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Isolating $\\sin(\\theta)$ we have<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>e^{j \\theta} &#8211; e^{- j \\theta} &amp;= 2 j \\sin(\\theta) \\\\<br>\\sin(\\theta) &amp;= \\frac{1}{2j}\\left[ e^{j\\theta} &#8211; e^{-j\\theta}\\right] \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Complex_Expressions\"><\/span>Complex Expressions<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>$$<br>\\begin{align}<br>|C|e^{rt}e^{j\\omega_0t}e^{j\\phi} = \\text{ampl} \\cdot \\text{exp growth\/decay} \\cdot \\text{periodic} \\cdot \\text{phase} \\\\<br>\\\\<br>Acos(\\omega_0 t + \\phi) = \\frac{A}{2}e^{j\\phi}e^{j \\omega_0 t} + \\frac{A}{2}e^{-j\\phi}e^{j\\omega_0 t} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>For complex periodic functions, we have the relations<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>e^{j \\omega t} &amp;= e^{j 2 \\pi f t} \\\\<br>\\\\<br>\\omega_0 &amp;= 2 \\pi f_0 \\\\<br>f_0 &amp;= \\frac{\\omega_0}{2 \\pi} \\\\<br>\\\\<br>T_0 &amp;= \\frac{1}{f_0} \\\\<br>T_0 &amp;= \\frac{2 \\pi}{|\\omega_0|} \\\\<br>\\omega_0 &amp;= \\frac{2\\pi}{T_0} \\\\<br>\\omega_0 T_0 &amp;= 2 \\pi \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"EvenOdd\"><\/span>Even\/Odd<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Even\"><\/span>Even<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>$$<br>\\begin{align}<br>\\text{Even Signal} \\implies x(-t) &amp;= x(t) \\\\<br>\\\\<br>Ev \\left\\{ x(t) \\right\\} &amp;= \\frac{1}{2} \\left[ x(t) + x(-t) \\right] \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Odd\"><\/span>Odd<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>$$<br>\\begin{align}<br>\\text{Odd Signal} \\implies x(-t) &amp;= -x(t) \\\\<br>\\\\<br>Od \\left\\{ x(t) \\right\\} &amp;= \\frac{1}{2} \\left[ x(t) &#8211; x(-t) \\right] \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Note<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x(t) &amp;= Ev \\left\\{ x(t) \\right\\} + Od \\left\\{ x(t) \\right\\} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Periodic_Signals\"><\/span>Periodic Signals<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Periodic iff<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\forall t \\exists T :x(t) &amp;= x(t+T) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p><span style=\"text-decoration: underline;\">Fundamental Period<\/span> $T_0$ is minimum positive nonzero value of $T$ for which above equation is satisfied.<\/p>\n\n\n\n<p><span style=\"text-decoration: underline;\">Fundamental Frequency<\/span> $\\omega_0$ is then defined as<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\omega_0 = \\frac{2 \\pi}{T_0} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Periodic complex exponentials representing the fundamental can then be written as<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>e^{j \\frac{2 \\pi}{T_0} t} \\\\<br>e^{j \\omega_0 t} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Harmonics\"><\/span>Harmonics<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Harmonics are the set of harmonically related complex exponentials with fundamental frequencies that are all multiples of a single positive frequency $\\omega_0$.<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>&amp;e^{j \\omega t} \\text{ is periodic with Fundamental Period } T_0  \\text{ and Fundamental Frequency } \\omega_0 \\implies \\\\<br>&amp;e^{j \\omega_0 T_0} = 1 \\implies \\\\<br>&amp;\\omega_0 T_0 = 2 \\pi k, k=0, \\pm1, \\pm2 \\dots \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Note that a continuous complex exponential may be periodic across infinite frequencies\/periods, but there is only one fundamental that defines the set of harmonics.  We then define the kth harmonic as<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\phi_k(t) = e^{j k \\frac{2 \\pi}{T_0} t} \\\\<br>\\phi_k(t) = e^{j k \\omega_0 t} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Note that when $k = 0$, the harmonic is a constant.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Power\"><\/span>Power<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Power\/Energy quantities tend to use squared terms<br><br>$$<br>\\begin{align}<br>E_{\\infty} &amp;= \\int_{t_1}^{t_2} |x(t)|^2 dt \\\\<br>P_{\\infty} &amp;= \\lim_{T \\to \\infty} \\left[ \\frac{1}{2T} \\int_{-T}^{T} |x(t)|^2 dt \\right] \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Periodic_Power\"><\/span>Periodic Power<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>$$<br>\\begin{align}<br>E_{\\text{period}} = \\int_{0}^{T_0} |e^{j \\omega_0 t}|^2 dt \\\\<br><br>E_{\\text{period}} = \\int_{0}^{T_0} 1^2 dt \\\\<br><br>E_{\\text{period}} = \\left[ t \\right]_{0}^{T_0} \\\\<br><br>E_{\\text{period}} = T_0 \\\\<br><br>P_{\\text{period}} = \\frac{1}{T_0}E_{\\text{period}} = 1 \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Impulse_and_Step_Functions\"><\/span>Impulse and Step Functions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>$$<br>u(t) = \\begin{cases}<br>\\begin{align}<br>0 &amp;&amp;t &lt; 0 \\\\<br>1 &amp;&amp;t &gt; 0 \\\\<br>\\end{align}<br>\\end{cases}<br>$$<\/p>\n\n\n\n<p>Note that $u(t)$ is undefined for $t=0$<\/p>\n\n\n\n<p>Desired relationships that mirror the discrete time case<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>u(t) &amp;= \\int_{- \\infty}^t \\delta(\\tau) d \\tau \\\\<br>\\delta(t) &amp;= \\frac{d u(t)}{dt} \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>These relationships can be used to determine how to define $\\delta(t)$. Start with a continuous function with real life step over time $\\Delta$.<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\delta_{\\Delta}(t) = \\frac{du_{\\Delta}(t)}{dt}<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Note that the $\\delta_{\\Delta}(t)$ function has height $1\/\\Delta$ and width $\\Delta$, so total area is 1.<\/p>\n\n\n\n<p>$$<br>\\delta_{\\Delta}(t) =<br>\\begin{cases}<br>1\/\\Delta &amp;&amp;0 \\leq t &lt; \\Delta \\\\<br>0 &amp;&amp;\\text{otherwise} \\\\<br>\\end{cases}<br>$$<\/p>\n\n\n\n<p>If you now take $\\lim_{\\Delta \\to 0} \\delta_{\\Delta}(t)$ we get a function that is infinitely high and infinitely thin at $t=0$ with integrated area 1. This is usually represented as a vertical arrow with height 1. When the function is scaled, the arrow changes height.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d31f7a26744&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d31f7a26744\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"751\" height=\"316\" 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\/06\/2022-01-09-13-55-07-image.png\" alt=\"\" class=\"wp-image-1126\" srcset=\"https:\/\/neilfoxman.com\/wp-content\/uploads\/2024\/06\/2022-01-09-13-55-07-image.png 751w, https:\/\/neilfoxman.com\/wp-content\/uploads\/2024\/06\/2022-01-09-13-55-07-image-300x126.png 300w\" sizes=\"auto, (max-width: 751px) 100vw, 751px\" \/><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>This idealized spike is then described as<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>\\delta(t) = \\lim_{\\Delta \\to 0} \\delta_{\\Delta}(t) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Using the <a href=\"https:\/\/neilfoxman.com\/?page_id=736#Sifting_Property\">sifting property<\/a>, we can also find that we also have the relationship<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>u(t) &amp;= \\int_{-\\infty}^{\\infty} u(\\tau) \\delta(t-\\tau) d \\tau \\\\<br>u(t) &amp;= \\int_{0}^{\\infty} \\delta(t-\\tau) d \\tau \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Sampling_Property\"><\/span>Sampling Property<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Imagine the sample of a function $x_1(t)$ that is a function $x(t)$ multiplied by $\\delta_{\\Delta}(t)$, or <\/p>\n\n\n\n<p>$$<br>x_1(t) = x(t) \\delta_{\\Delta}(t)<br>$$<\/p>\n\n\n\n<p>Recalling that<\/p>\n\n\n\n<p>$$<br>\\delta(t) = \\lim_{\\Delta \\rightarrow 0} \\delta_{\\Delta}(t)<br>$$<\/p>\n\n\n\n<p>As $\\Delta$ gets smaller and smaller, we can approximate $x(t)$ as constant in the interval $[0,\\Delta]$, or <\/p>\n\n\n\n<p>$$<br>\\lim_{\\Delta \\rightarrow 0} x_1(t) = x(0) \\delta_{\\Delta}(t)<br>$$<\/p>\n\n\n\n<p>Putting these properties together we get the sampling property<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x(t) \\delta(t) &amp;= x(0) \\delta(t) \\\\<br>x(t) \\delta(t-t_0) &amp;= x(t_0) \\delta(t-t_0) \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Sifting_Property\"><\/span>Sifting Property<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>A signal may be alternatively represented as the summation (integral) of samples. This could be conceptualized as impulses across all $t$ each scaled by the original signal&#8217;s amplitude $x(t)$ at each $t$.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d31f7a27218&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d31f7a27218\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"552\" height=\"264\" 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\/06\/image-12.png\" alt=\"\" class=\"wp-image-1164\" srcset=\"https:\/\/neilfoxman.com\/wp-content\/uploads\/2024\/06\/image-12.png 552w, https:\/\/neilfoxman.com\/wp-content\/uploads\/2024\/06\/image-12-300x143.png 300w\" sizes=\"auto, (max-width: 552px) 100vw, 552px\" \/><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>In other words, define<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x_1(t) &amp;= <br>\\dots<br>x(-2\\Delta) \\delta_\\Delta(t + 2\\Delta) + <br>x(-\\Delta) \\delta_\\Delta(t + \\Delta) + <br>x(0) \\delta_\\Delta(t) + <br>x(\\Delta) \\delta_\\Delta(t &#8211; \\Delta) +<br>x(2\\Delta) \\delta_\\Delta(t &#8211; 2\\Delta) +<br>\\dots \\\\<br>\\end{align}<br>$$<\/p>\n\n\n\n<p>Taking the limit as $\\Delta \\to 0$, the right hand side approaches an integral and the result appears closer to the original signal, so we can then say<\/p>\n\n\n\n<p>$$<br>\\begin{align}<br>x(t) &amp;= \\lim_{\\Delta \\to 0} x_1(t) \\\\<br><br>x(t) &amp;= \\lim_{\\Delta \\to 0} \\left[<br> \\dots<br>x(-2\\Delta) \\delta_\\Delta(t + 2\\Delta) + <br>x(-\\Delta) \\delta_\\Delta(t + \\Delta) + <br>x(0) \\delta_\\Delta(t) + <br>x(\\Delta) \\delta_\\Delta(t &#8211; \\Delta) +<br>x(2\\Delta) \\delta_\\Delta(t &#8211; 2\\Delta) +<br>\\dots<br>\\right] \\\\<br><br>x(t) &amp;= \\int_{-\\infty}^{\\infty} x(\\tau) \\delta(t &#8211; \\tau) d \\tau \\\\<br>\\end{align}<br>$$<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Complex Signals Euler Relations General form of the Euler Relation is $$\\begin{align}e^{j \\theta} &amp;= \\cos(\\theta) + j \\sin(\\theta) \\\\\\end{align}$$ This relation can be inverted to yield $$\\begin{align}e^{j(-\\theta)} &amp;= \\cos(-\\theta) + j \\sin(-\\theta) \\\\e^{-j \\theta} &amp;= \\cos(\\theta) &#8211; j \\sin(\\theta) \\\\\\end{align}$$ Isolating $\\cos(\\theta)$ we have $$\\begin{align}e^{j \\theta} &amp;= \\cos(\\theta) + j \\sin(\\theta) \\\\e^{-j \\theta} &amp;= \\cos(\\theta) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":106,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-736","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/pages\/736","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=736"}],"version-history":[{"count":41,"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/pages\/736\/revisions"}],"predecessor-version":[{"id":1165,"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/pages\/736\/revisions\/1165"}],"up":[{"embeddable":true,"href":"https:\/\/neilfoxman.com\/index.php?rest_route=\/wp\/v2\/pages\/106"}],"wp:attachment":[{"href":"https:\/\/neilfoxman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}