1 CLASS 2 (Sections 1.3) Exponential and Sinusoidal Signals β They arise frequently in applications, and many other signals can be constructed from them. Continuous-time complex exponential and sinusoidal signals: π₯(π‘) = πΆπππ‘ where πΆ and π are in general complex numbers. Real exponential signals: πΆ and π are reals. at 0 β C>0 and a<0. Ce Ce at C>0 and a>0. C 0 t 0 C 0 t The case π > 0 represents exponential growth. Some signals in unstable systems exhibit exponential growth. β The case π < 0 represents exponential decay. Some signals in stable systems exhibit exponential decay. 2 Periodic complex exponential: πππ€0 π‘ where π = √ −1, π€0 β= 0 is real, and π‘ is the time. Euler’s formula: πππ€0 π‘ = cos(π€0 π‘) +π sin(π€0 π‘) . Note that | {z } | {z } Re{πππ€0 π‘ } Im{πππ€0 π‘ } 1 jw t sin(w t) e Im 0 0 0 cos(w0t) −1 −1 β β£πππ€0 π‘ β£ = 1 and ∠πππ€0 π‘ = π€0 π‘. β ππ2ππ = 1, for π = 0, ±1, ±2, . . . . 0 Re 1 Since ( ) 2π ππ€0 π‘+ β£π€ β£ π 0 π€ π2π β£π€0 β£ = πππ€0 π‘ π 0 ππ€0 π‘ 0) = πππ€0 π‘ π|π2πsign(π€ {z } = π =1 we have πππ€0 π‘ is periodic with fundamental period 2π . β£π€0 β£ Note that β πππ€0 π‘ and π−ππ€0 π‘ have the same fundamental period. β Energy in πππ€0 π‘ : β Average Power in πππ€0 π‘ : limπ →∞ β {ππππ€0 π‘ }π=0,±1,... , are all periodic with period ∫∞ −∞ β£πππ€0 π‘ β£ππ‘ = ∫∞ −∞ 1 2π 1.ππ‘ = ∞ ∫π −π β£πππ€0 π‘ β£ππ‘ = limπ →∞ 2π . β£π€0 β£ 1 2π ∫π −π 1.ππ‘ = 1. They are called a harmonically related set of complex exponentials with ππππ€0 π‘ being the π−th harmonic. 3 Sinusoidal signals: π΄ cos(π€0 π‘ + π) and π΄ sin(π€0 π‘ + π). where π΄ is real, π€0 is real, π is real, and π‘ is the time. (Graph one of the signals!) β β They arise in systems that conserve energy such as an ideal LC circuit or an ideal mass-spring system. – Periodic with the same fundamental period π0 = 2π/β£π€0 β£ – β£π€0 β£ is the fundamental frequency – π0 := 1/π0 = β£π€0 β£/(2π) is the number of cycles per unit time (large π0 means more oscillatory) – β£π΄β£ is the amplitude – β£πβ£ is the size of the phase shift. β Since ππ(π€0 π‘+π) = cos(π€0 π‘ + π) + π sin(π€0 π‘ + π) we can write π΄ cos(π€0 π‘ + π) = π΄Re(ππ(π€0 π‘+π) ) π΄ sin(π€0 π‘ + π) = π΄Im(ππ(π€0 π‘+π) ). β Recall, for any complex number π§, π§ = Re(π§) + πIm(π§) π§ ∗ = Re(π§) − πIm(π§) therefore Re(π§) = π§ + π§∗ 2 Im(π§) = π§ − π§∗ . 2π Hence, we can also write ) π΄ ( π(π€0 π‘+π) ( π(π€0 π‘+π) )∗ ) π΄ ( π(π€0 π‘+π) π + π = π + π−π(π€0 π‘+π) 2 2 π΄ π΄ = πππ πππ€0 π‘ + π−ππ π−ππ€0 π‘ 2 2 ( ) π΄ π(π€0 π‘+π) ( π(π€0 π‘+π) )∗ ) π΄ −ππ/2 ( π(π€0 π‘+π) π΄ sin(π€0 π‘ + π) = π − π = π π − π−π(π€0 π‘+π) 2π 2 π΄ π΄ = ππ(π−π/2) πππ€0 π‘ − π−π(π+π/2) π−ππ€0 π‘ . 2 2 π΄ cos(π€0 π‘ + π) = 4 General complex exponential signals: πΆπππ‘ where πΆ and π are complex numbers. If πΆ = β£πΆβ£πππ and π = π + ππ€0 then πΆπππ‘ = β£πΆβ£πππ π(π+ππ€0 )π‘ = β£πΆβ£πππ‘ ππ(π€0 π‘+π) = β£πΆβ£πππ‘ cos(π€0 π‘ + π) +π β£πΆβ£πππ‘ sin(π€0 π‘ + π) . | {z } | {z } Re(πΆπππ‘ ) Im(πΆπππ‘ ) r>0. r<0. |C|ert at Re(Ce ) at Re(Ce ) |C|ert 0 0 −|C|ert 0 −|C|e 0 t rt t β If π = 0, the real and imaginary part are sinusoidals. β If π > 0, the real and imaginary part are sinusoidals multiplied by a growing exponential. Such signals arise in unstable systems. β If π < 0, the real and imaginary part are sinusoidals multiplied by a decaying exponential. Such signals arise in stable systems, for example, in RLC circuits, or in mass-spring-friction system, where the energy is dissipated due to the resistors, friction, etc. 5 Discrete-time complex exponential and sinusoidal signals: π₯[π] = πΆππ½π where πΆ and π½ are complex numbers. Analogous to the continuous-time case with the following differences: (π€0 is real below) β πππ€0 π‘ = πππ€1 π‘ are different signals if π€0 β= π€1 , whereas πππ€0 π = πππ€1 π if π€0 − π€1 = 2ππ, for some π ∈ {0, ±1, . . . }. (Explain this on the unit circle!) Therefore, it is sufficient to consider only the case π€0 ∈ [0, 2π) or π€0 ∈ [−π, π). β As π€0 increases πππ€0 π oscillates at higher frequencies, whereas this is not the case for πππ€0 π . In the figure below, the frequency of oscillations increases as π€0 changes from 0 to π then it decreases as π€0 changes from π to 2π. β πππ€0 π‘ is periodic with fundamental period 2π/β£π€0 β£, whereas πππ€0 π is periodic ⇔ πππ€0 π = πππ€0 (π+π ) for some integer π > 0, for all π ⇔ πππ€0 π = 1 for some integer π > 0 ⇔ π€0 π = 2ππ for some integers π, π > 0 ⇔ β If π€0 2π = is π = π π π€0 is rational. 2π for some integers π and π which have no common factors, then the fundamental period 2ππ π€0 because πππ€0 (π+π ) = πππ€0 π ππ The same observations hold for discrete-time sinusoids. 2ππ π π . 6 w =1π/8 w =0π/8 0 n=4 n=5 n=3 n=6 n=2 n=7 n=1 n=8 n=0 n=9 n=15 n=10 n=14 n=11 n=13 n=12 n=3 Im n=0 Im Im w =2π/8 0 0 n=4 n=6 n=7 Re Re w =4π/8 w =8π/8 w =12π/8 0 0 n=2 n=0 n=1 n=0 Im n=3 Im Im n=0 n=5 n=1 n=3 n=2 n=0 n=1 Re Re w0=14π/8 w0=15π/8 w0=16π/8 n=4 n=7 n=0 n=3 n=2 Re n=1 Im n=6 n=12 n=11 n=13 n=10 n=14 n=9 n=15 n=8 n=0 n=7 n=1 n=6 n=2 n=5 n=3 n=4 Im Re n=5 Im n=1 Re 0 Fig. 1. n=2 Re To determine the fundamental period, count the number of steps to get back to 1! n=0 Re 7 Examples: 1) Is π₯[π] = πππ2π/3 + πππ3π/4 periodic? If it is periodic, what’s its fundamental period? For πππ2π/3 , π€0 /(2π) = 1/3, so πππ2π/3 is periodic with fundamental period 3. For πππ3π/4 , π€0 /(2π) = 3/8, so πππ3π/4 is periodic with fundamental period 8. π₯[π] is periodic with fundamental period 24 = πππ(3, 8). 2) Is π₯[π] = sin(3π/4) periodic? If it is periodic, what’s its fundamental period? Since π€0 2π = 3 8π is irrational, π₯[π] is not periodic; see the figure where π₯[π] = 0 only at π = 0. sin(3t/4) and sin(3n/4) 1 0 −1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 t 3) Is π₯[π] = sin(8ππ/31) periodic? If it is periodic, what’s its fundamental period? Since π€0 /(2π) = 4/31, π₯[π] is periodic with fundamental period 31; see the figure where π₯[0] = π₯[31] = 0. Note that the continuous-time signal sin(8ππ‘/31) has fundamental period 31/4, hence it is 0 at π‘ = 31/4. But π₯[π] has no 31/4−th sample and it misses 0 between π₯[7] and π₯[8]. sin(8π t/31) and sin(8π n/31) 1 0 −1 0 1 2 3 4 5 6 7 8 9 1011121314151617181920212223242526272829303132333435 t 8 Harmonically related discrete-time periodic exponentials: ππ [π] = {πππ(2π/π )π }π=0,±1,... , are all periodic with period π . However, unlike the continuous-time signals, these signals are not all distinct because ππ+π [π] = ππ(π+π )(2π/π )π = πππ(2π/π )π ππ2ππ = ππ [π]. This implies that there are only π distinct signals in this set, for example, π0 [π] = 1 π1 [π] = ππ2ππ/π π2 [π] = ππ4ππ/π .. . π1 [π] = ππ2(π −1)π/π .