Discrete-Time Complex Exponentials and Periodicity
In questa pagina 6
Complex exponential signals (discrete time)
A discrete-time complex exponential is
x(k)=Cλk,C,λ∈C.
For C,λ∈R there are four qualitatively different cases (sketched as stems with an envelope):
C>0, lambda>1 : stems all positive, growing with k (exponential growth)
C>0, 0<lambda<1 : stems all positive, decaying with k
-1<lambda<0 : stems alternate in sign, envelope decays (alternating decay)
lambda<-1 : stems alternate in sign, envelope grows (alternating growth)
The two most popular discrete-time signals of this kind are:
x(k)=ejθ0k=cos(θ0k)+jsin(θ0k), i.e. λ=ejθ0. Here k is dimensionless and θ0 is measured in rad.
(the integer p, written k in the lecture, does not represent time). Hence
2πθ0=Kˉp∈Q.
Result.x(k)=ejθ0k is periodic if and only if θ0/2π is a rational number.
If p/Kˉ is reduced to lowest terms and Kˉ>0, then K0=Kˉ is the fundamental period:
K0=⎩⎨⎧2πθ0p,1,θ0=0otherwisesubject to 2πθ0=Kˉp∈Q,gcd(Kˉ,p)=1.
Observation: ej(θ0+2π)k=ejθ0kej2πk=ejθ0k, so adding 2π to θ0 gives the same signal. It is therefore wise to restrict θ0 to [0,2π[.
Special case.ejπk=(ejπ)k=(−1)k, equal to 1 for k even and −1 for k odd. It has the highest possible frequency among discrete non-constant signals (K0=2).
Examples: fundamental period (continuous vs discrete)
signal
computation
result
x1(t)=cos(122πt)
∣ω0∣2π=2π⋅2π12=12
T0=12
x1(k)=cos(122πk)
∣θ0∣2π=12
K0=12
x2(t)=cos(318πt)
2π⋅8π31=431
T0=31/4
x2(k)=cos(318πk)
2π⋅8π31=431, multiply by p=4 to get an integer
K0=31
x3(t)=cos(6t)
2π⋅6=12π
T0=12π
x3(k)=cos(6k)
2π⋅6=12π∈/Q
aperiodic
Exercise: sum of two exponentials
Find the fundamental period of x(k)=ej(32πk)+ej(43πk).
First term (θ1=2π/3): θ12π=2π⋅2π3=3⇒Kˉ1=3.
Second term (θ2=3π/4): θ22π=2π⋅3π4=38⇒Kˉ2=8.
Hence Kˉ=lcm(Kˉ1,Kˉ2)=24, and K0=24 because Kˉ1 and Kˉ2 are fundamental periods.
Harmonic relations
Define the family
ψn(k)=ejnKˉ2πk,n∈Z,
with common period Kˉ, i.e. θn=nKˉ2π. If 2πθn=Kˉn∈Q, then every ψn is periodic of period Kˉ, ∀n∈Z.
The first members are ψ0(k)=1, ψ1(k)=ejKˉ2πk, …, ψKˉ−1(k)=ej(Kˉ−1)Kˉ2πk, and then
ψKˉ(k)=ejKˉKˉ2πk=ej2πk=1k=1=ψ0(k).
In other words, there are exactly Kˉ distinct elements in the family ψn(k).
Summary of periodicity analysis (to be learnt by heart)
complex exponential, cosine, sine
sum, product, etc. of periodic signals
continuous time
ejω0t is always periodic, T0=∣ω0∣2π (if ω0=0)
periodic ⟺T2T1=mn∈Q (plus minimal assumptions); then T0=mT1=nT2
discrete time
ejθ0k is periodic ⟺2πθ0∈Q; K0=2πθ0p for θ0=0, 1 otherwise, subject to 2πθ0=Kˉp∈Q, gcd(Kˉ,p)=1
periodic ⟺2πθ1∈Q and 2πθ2∈Q, with Kˉ1,2 as above; Kˉ=lcm(Kˉ1,Kˉ2) (in general K0 has to be checked manually)
The lecturer adds that the rule for Kˉ1,2 in the last cell is needed only when two complex-exponential signals are considered, and that a few weeks later we will see why fundamental periods are so important.
Exercises on periodic signals
Determine whether each signal is periodic and find its fundamental period if it exists.
x1(t)=jej10t: T0=102π=5π.
x2(t)=e(−1+j)t=e−tejt: ∣x2(t)∣=e−t, so x2(t) is aperiodic.
x1(k)=ej7πk=ej6πkejπk=ejπk=(−1)k: K0=2.
x2(k)=3ej53(k+21)=3ej103ej53k=constant⋅ej53k. Since 3/52π=310π∈/Q, the signal is aperiodic.
x3(k)=1+ej74πk−ej52πk: the three terms have Kˉ1=1; 4π/72π=27∈Q⇒Kˉ2=7; 2π/52π=5⇒Kˉ3=5. Then Kˉ=lcm(Kˉ1,Kˉ2,Kˉ3)=35 and K0=35.
Versione ripasso
Signal:x(k)=Cλk, C,λ∈C. For λ=ejθ0: ejθ0k=cos(θ0k)+jsin(θ0k), with θ0 in rad and k dimensionless. Always E∞=+∞, P∞<+∞.
Fundamental period: write θ0/2π=p/Kˉ in lowest terms with Kˉ>0; then K0=Kˉ=2π∣p/θ0∣ (and K0=1 if θ0=0).
θ0 and θ0+2π give the same signal: restrict to [0,2π[. ejπk=(−1)k has K0=2, the fastest non-constant discrete signal.
Harmonics:ψn(k)=ejnKˉ2πk; exactly Kˉ distinct members (ψKˉ=ψ0=1).
Over one period:E[K0]=K0, P[K0]=1=P∞.
Sums of signals: continuous time, T1/T2=n/m∈Q gives T0=mT1=nT2; discrete time, each θi/2π must be rational and Kˉ=lcm(Kˉ1,Kˉ2) (it is K0 when the Kˉi are fundamental).
Continuous time differs: ejω0t is always periodic, T0=2π/∣ω0∣. So cos(t/6) is periodic (T0=12π) but cos(k/6) is not.
Typical mistakes: forgetting to reduce p/Kˉ to lowest terms; assuming a discrete cosine is always periodic; treating e−tejt as periodic (the modulus decays); forgetting that a constant phase factor does not change the period.
Examples:cos(318πk) has K0=31; ej32πk+ej43πk has K0=lcm(3,8)=24; 1+ej74πk−ej52πk has K0=lcm(1,7,5)=35.