Professional Documents
Culture Documents
DTSS - Z Transforms
DTSS - Z Transforms
1
Transformation involves change in coordinates and domain of operations
A BB
𝐴∩𝐵
……………………………………….
=
=
+ + + + + + + + + + + Maximum
X X X X X X X X X X X X
Beagle Pug
……………………………………….
=
=
+ + + + + + + + + + + < Maximum
Puggle
X X X X X X X X X X X X
Beagle Pug
……………………………………….
=
=
+ + + + + + + + + + + < Maximum
Puggle
X X X X X X X X X X X X
………………….
=
=
+ + + + + + + + + + +
= 0
How much of something is present in anything ?
Periodicity
Fourier Series for periodic signals/functions
∞ ∞
1
𝑓 𝑥 = 𝑎𝑜 + 𝑎𝑛 cos 𝑛𝑥 + 𝑏𝑛 sin 𝑛𝑥
2
𝑛=1 𝑛=1
𝜋 𝜋
1 1
𝑎𝑜 = න 𝑓 𝑥 𝑑𝑥 𝑎𝑛 = න 𝑓 𝑥 cos 𝑛𝑥 𝑑𝑥
𝜋 𝜋
−𝜋 −𝜋
𝜋
1
𝑏𝑛 = න 𝑓 𝑥 sin 𝑛𝑥 𝑑𝑥 𝑛 = 1, 2, 3, 4, … … .
𝜋
−𝜋
𝜃 = 2𝜋𝐹𝑡
Where
0 .01 .02 𝑛 = 1, 2, 3, 4, … … .
−1 0.02
𝑥(Ω) 1
𝑎𝑛 = න 𝑓 𝑡 cos 𝑛𝑡 𝑑𝑡
𝜋 0.02
1 0
𝑎𝑜 = න 𝑓 𝑡 𝑑𝑡
𝜋
−𝜋 𝑎𝑛 = 0
0.02
1 Discrete spectrum No Cosine component is present
𝑎𝑜 = න 𝑓(𝑡) 𝑑𝑡
0.02 0.02
0 1
𝑏𝑛 = න 𝑓 𝑡 sin 𝑛𝑡 𝑑𝑡
0.01 0.02 0.02
1 0
𝑎𝑜 = න 1 𝑑𝑡 + න −1 𝑑𝑡
0.02 1
0 0.01 𝑏𝑛 = 1 − (−1)𝑛
𝑛𝜋
2
𝑎𝑜 = 0 𝑏𝑛 = 0, when n is even 𝑏𝑛 = 𝑛𝜋, when n is odd
No dc component is present
Square Wave – weighted sum of
sinusoids – ODD Function
Fourier Series – Saw tooth Wave
𝑛 = 1, 2, 3, 4, … … .
Fourier Series Discrete Fourier Series
Input is continuous x(t) Input is discretised x[n]
Continuous Periodic signal Discrete Periodic signal
FS DFS
𝑁−1
𝑗2𝜋𝑛𝑘
𝑥(𝑡)
𝑥𝑛 = 𝐶𝑘 𝑒 𝑁
𝑘=0
𝑁−1
𝑥(𝑡) 1 −𝑗2𝜋𝑛𝑘
𝐶𝑘 = 𝑥 𝑛 𝑒 𝑁
𝑁
Discrete Non periodic spectrum 𝑘=0
𝑥(Ω)
x(t)
FS
tp
Continuous Periodic signal Discrete Non Periodic spectrum
x[n]
DFS
Ts
(i.e.) T = ∞ & f = 0
∑ → ∫
ω
Spectral Amplitude {Un} → Spectral density {F(ω)}
F → 0
A(ω)
A(t)
t ω
FT [ f(t) ] = f(ω)
δ(t) = 1 t=0 δ(t-τ) = 1 t= τ
δ(t) = 0 t≠0 δ(t-τ) = 0 t≠ τ
h(t)
System
Impulse response
δ(n)
n ω
Impulse spectrum
n
=
=
=
=
System
System
System
System
System
.
.
.
System
x(n) System y(n) δ(n) System h(n)
T[] T[]
∞ ∞
𝒚 𝒏 = 𝒉 𝒌 𝒙(𝒏 − 𝒌) 𝒚 𝒏 = 𝒙 𝒌 𝒉(𝒏 − 𝒌)
𝒌=−∞ 𝒌=−∞
CONVOLUTION SUM CONVOLUTION SUM
𝑰𝒇 𝒙(𝒏) = 𝒆𝒋𝝎𝒏
𝑫𝒊𝒔𝒄𝒓𝒆𝒕𝒆 𝒕𝒊𝒎𝒆 𝑭𝒐𝒖𝒓𝒊𝒆𝒓 𝑻𝒓𝒂𝒏𝒔𝒇𝒐𝒓𝒎
∞ ∞
𝒚 𝒏 = 𝒉 𝒌 𝒆𝒋𝝎(𝒏−𝒌) 𝑯 𝒆𝒋𝝎 = 𝒉 𝒌 𝒆−𝒋𝝎𝒌
𝒌=−∞ 𝒌=−∞
∞
𝒚 𝒏 = 𝒆𝒋𝝎𝒏 𝒉 𝒌 𝒆−𝒋𝝎𝒌
𝒌=−∞ Frequency response is a
function of continuous
variable ω
𝑯(𝒆𝒋𝝎 )
𝒚 𝒏 = 𝒆𝒋𝝎𝒏 𝑯(𝒆𝒋𝝎 ) Frequency response of the system
System
Fourier Transform
is a Signal Prism
Fourier Transform Discrete time
Input is continuous x(t)
Fourier Transform
Continuous Non Periodic signal
Input is discretised x[n]
FT
∞
𝑥(𝝮) = න 𝑥(𝑡)𝑒 −𝑗𝝮𝑡 𝑑𝑡 Discrete Non Periodic signal
−∞
∞ DTFT
𝑥(𝑡) = න 𝑥(𝝮)𝑒 𝑗𝝮𝑡 𝑑𝑡 ∞
−∞
𝑋(𝑒 𝑗𝜔 ) = 𝑥[𝑛]𝑒 −𝑗𝜔𝑛
Continuous Non Periodic spectrum 𝑘=−∞
2𝜋
1
𝑥𝑛 = න 𝑋(𝑒 𝑗𝜔 )𝑒 𝑗𝜔𝑛 𝑑𝜔
2𝜋 0
x(t) 𝑥(𝝮)
FT
x[n] 𝑋(𝑒 𝑗𝜔 )
DTFT
𝑁−1 ∞
1 −𝑗2𝜋𝑛𝑘
𝐶𝑘 = 𝑥 𝑛 𝑒 𝑁 𝑿 𝒆𝒋𝝎 = 𝒙 𝒏 𝒆−𝒋𝝎𝒏 < ∞
𝑁 𝒏=−∞
𝑘=0
Spectral Amplitude {Un} Spectral density {F(ω)}
What if power and energy are infinite?
What if Fourier transform diverges to infinity ?
Power and Energy are infinite
∞
When will this converge ?
𝑿 𝒆𝒋𝝎 = 𝒙 𝒏 𝒆−𝒋𝝎𝒏 < ∞
1 𝒏=−∞
∞
∞
Fourier Transform will converge only when
𝑿 𝒆𝒋𝝎 = 𝒙 𝒏 <∞ x(n) is absolutely sumable.
𝒏=−∞
𝒙 𝒏 <∞
𝒏=−∞
Therefore we can conclude that FOURIER TRANSFORM can only be applied for
STABLE SYSTEMS
𝒏
𝒙 𝒏 = 𝟐𝒏 u n 𝟏
𝒙 𝒏 = ൗ𝟐 u n
FT Diverge ∞ ∞ FT Converge
Unstable 𝒙 𝒏 =∞ Stable 𝒙 𝒏 <∞
𝒏=−∞ 𝒏=−∞
Laplace transform is used to make an unstable system stable
and determine at which point the system leads to instability
0 0
𝜎 = −2, = න 𝑒 −(−2+1)𝑡 𝑑𝑡 = න 𝑒 𝑡 𝑑𝑡
−∞ 0
𝜎 = 0, =න 𝑒 −(1)𝑡 𝑑𝑡 = න 𝑒 −𝑡 𝑑𝑡 LT Converge
−∞ −∞ 0 ∞
LT Diverge 𝜎 = −3, = න 𝑒 −(−3+1)𝑡 𝑑𝑡 = න 𝑒 2𝑡 𝑑𝑡
−∞ 0
Since the limit is from -∞ to 0
LT Converge
The boundary is still -1, but the ROC is < -1
For σ > 1 Diverge
Though the LT of 𝒙 𝒕 = −𝒆−𝒕 𝒖 −𝒕 𝒂𝒏𝒅 𝒙 𝒕 = 𝒆−𝒕 𝒖(𝒕) happens to be σ = -1 Undefined
σ < -1 Converge
same, boundary lone or pole are same, ROC is entirely different.
S Plane
∞ ∞
DTFT 𝑿 𝒆𝒋𝝎 = 𝑿 𝒁 │𝑟 = 1 or Z = 𝒆
𝒋𝝎
𝑿 𝒆𝒋𝝎 = 𝒙 𝒏 (𝒓𝒆𝒋𝝎 )−𝒏
𝒏=−∞
r=1
∞
-1 1 𝑿 𝒁 = 𝒙 𝒏 𝒁−𝒏
𝒏=−∞
Discrete DTFT
DTFT DFT
∞ ∞
𝟐𝝅𝒌𝒏
−𝒋 𝑵
𝑿 𝒆𝒋𝝎 = 𝒙 𝒏 𝒆−𝒋𝝎𝒏 𝑿 𝒌 = 𝒙 𝒏 𝒆
𝒏=−∞ DTFT requires more 𝒏=−∞
𝑋(𝑒 𝑗𝜔 ) memory location for 𝑋(𝑘)
implementation due to
continuous frequency ω
Proof
Consider a signal x(t) whose spectrum is band limited to fm
𝑿 𝝎 = 𝟎 𝒇𝒐𝒓 𝝎 > 𝝎𝒎
𝑥(𝑡) 𝑿(𝝎)
FT
0 𝑡 −𝝎𝒎 𝟎 𝝎𝒎
Analog Signal Spectrum of analog Signal
The analog signal is multiplied with impulse train to obtain discrete time signal
𝑥(𝑡) 𝑐(𝑡)
.... ....
0 𝑡 -4Ts -3Ts -2Ts -Ts 0 Ts 2Ts 3Ts 4Ts 𝑡
Analog Signal Impulse Train
𝑥(𝑡) 𝑿(𝝎)
0 𝑡 −𝝎𝒎 𝟎 𝝎𝒎
Analog Signal Spectrum of analog Signal
𝒀(𝝎)
The LPF used to recover original from its samples - INTERPOLATION FILTER
When the sampling rate 𝒇𝒔 = 𝟐 𝒇𝒎 , it is called Nyquist rate or Minimum sampling rate
1
Maximum sampling interval is called Nyquist interval 𝑇𝑠 = 𝑓
𝑠
When the continuous time band limited signal is sampled at nyquist rate, the sampled
spectrum contains non-overlapping successive cycles repeating periodically. But they
touch each other.
𝒀(𝝎)
𝝎𝒔 − 𝝎𝒎 = 𝝎𝒎
𝝎𝒔 = 𝟐𝝎𝒎
The original spectrum X(ω) can be recovered from the sampled spectrum Y(ω) by using
LPF with a sharp cut –off frequency fm
When the continuous time band limited signal is sampled at a rate lower than nyquist
rate 𝒇𝒔 < 𝟐 𝒇𝒎 , the spectrum Y(ω) of the sampled signal y(t) overlap with each other.
𝝎𝒔 − 𝝎𝒎 𝝎𝒎
Phenomenon in which a high frequency component in the frequency spectrum of signal
takes identity of a lower frequency component in the spectrum of the sampled
spectrum.
Effects of aliasing
✓ Since high and low frequencies interfere with each other distortion is generated.
44.1Khz (CD) and 48Khz (DVD) are the most common sampling rates for digital audio.
The band pass signal x(t), whose maximum bandwidth is 2fm can be completely represented and
recovered from its samples if it is sampled at the minimum rate of twice the bandwidth.
X(f)
The center frequency fc > fm
X(f) X(f)
x(t)
𝛿 𝑇𝑠 𝑡 = 𝛿(𝑡 − 𝑛𝑇𝑠 )
𝑛=−∞
Sampled signal
Sampling Function 𝑦(𝑡) = 𝑥 𝑡 𝛿𝑇𝑠 (𝑡)
∞
It is impossible to have a pulse with pulse width
𝑦 𝑓 = 𝑓𝑠 𝑋(𝑓 − 𝑛𝑓𝑠 )
approaching to zero. 𝑛=−∞
Natural sampling
Most practical way of accomplishing sampling of a band limited signal x(t) is to
multiply x(t) with a pulse train c(t).
τ
x(t) y(t)
𝑦(𝑡) = 𝑥 𝑡 𝑐(𝑡)
Sampling is termed natural as the profile of each sample retains the shape of analog
segment during the pulse interval.
Flat top or Rectangular sampling.
The top of the sample remain constant which is equal to the instantaneous value of the
base band signal x(t) at the beginning of sampling.
x(t) y(t)
𝑦(𝑡) = 𝑥 𝑡 𝑐(𝑡)
𝐻 𝑓 spectrum of rectangular
pulse (Sinc function)
∞
Most practically
2 Feasibility Practically not possible Practically used
used
𝝎𝟑 𝟏𝟓𝟎𝝅
𝑭𝟑 = = = 𝟕𝟓
𝟐𝝅 𝟐𝝅
Calculate the minimum sampling frequency required for x(t) = 0.5 sin 50𝜋t + 0.25 sin 25𝜋t
so as to avoid aliasing
𝝎𝟏 𝟓𝟎𝝅
F𝐬 ≥𝟐F𝐍
𝑭𝟏 = = = 𝟐𝟓
𝟐𝝅 𝟐𝝅 minimum sampling frequency required
𝝎𝟐 𝟐𝟓𝝅 to avoid aliasing
𝑭𝟐 = = = 𝟏𝟐. 𝟓
𝟐𝝅 𝟐𝝅
Fs = 2*FN = 2*25 = 50Hz
Continuous time domain Discrete time domain
Fourier Series (FS) Discrete Fourier Series (DFS)
Fourier Transform (FT) Discrete Time Fourier Transform (DTFT)
Laplace Transform (LT) Z Transform
∞
Fourier Transform will converge only when
𝑿 𝒆𝒋𝝎 = 𝒙 𝒏 <∞ x(n) is absolutely summable of finite
𝒏=−∞
𝒙 𝒏 <∞
𝒏=−∞
Therefore we can conclude that FOURIER TRANSFORM can only be applied for
STABLE SYSTEMS 𝒏
𝒙 𝒏 = 𝟐𝒏 u n 𝒙 𝒏 = 𝟏ൗ𝟐 u n
FT does not converge for FT converge for decaying
growing sequence sequence
∞ ∞
Unstable 𝒙 𝒏 =∞ Stable 𝒙 𝒏 <∞
𝒏=−∞ 𝒏=−∞
Need for Z - Transform
∞ ∞
DTFT does not converge for all sequence 𝑿 𝒆𝒋𝝎 = 𝒙 𝒏 (𝒓𝒆𝒋𝝎 )−𝒏
𝒏=−∞
Hence move on to an alternative tool for
signal analysis ∞
𝑿 𝒁 = 𝒙 𝒏 𝒁−𝒏
Laplace Transform 𝒏=−∞
∞
Z = 𝒓𝒆𝒋𝝎 New complex variable
𝑥(𝑆) = න 𝑥(𝑡)𝑒 −𝑠𝑡 𝑑𝑡
−∞ r- magnitude, angle ω
Lets Relate DTFT and Z Transform
∞ ∞
𝑿 𝒁 = 𝒙 𝒏 𝒁−𝒏
𝒏=−∞
DTFT 𝑿 𝒆𝒋𝝎 = 𝑿 𝒁 │r = 1 or z= 𝒆 𝒋𝝎
jω
𝑟 =1
-1 1 σ
∞ ∞
𝑿 𝒁 =1 𝑿 𝒆𝒋𝝎 = 1
Subtract A from B
𝑿 𝒁 − 𝒂𝒁−𝟏 𝑿 𝒁 = 𝟏
𝑿 𝒁 (𝟏 − 𝒂𝒁−𝟏 ) = 𝟏
𝟏 𝟏
𝑿 𝒁 = 𝑿 𝒆𝒋𝝎 =
(𝟏−𝒂𝒁−𝟏 ) (𝟏 − 𝒂𝒆−𝒋𝝎 )
Region of Convergence, Causality and Stability
Region of convergence (ROC) – the area where ZT converges or where ZT has finite values
∞
𝒏 𝟐
𝟏
𝟑 ∞
A geometric series 𝒒 = 𝟏 + 𝒒 + 𝒒 + 𝒒 + ⋯+ 𝒒 =
𝟏−𝒒
𝒏=𝟎
Converges if and only if 𝑞 < 1
𝒂(𝟏 − 𝒓𝒏 )
𝒂 + 𝒂𝒓 + 𝒂𝒓𝟐 + 𝒂𝒓𝟑 + ⋯+ 𝒂𝒓∞ =
𝒓−𝟏
𝒂
The above series converges to Since r is small
𝒓−𝟏 &
when n=∞, rn =0
Converges if and only if 𝐫 < 𝟏
Find the ZT and ROC of the causal sequence defined by 𝒙 𝒏 = 𝒂𝒏 𝒖 𝒏 , 𝒂 <𝟏
∞
𝒂(𝟏 − 𝒓𝒏 )
𝑿 𝒁 = 𝒙 𝒏 𝒁−𝒏 𝒂 + 𝒂𝒓 + 𝒂𝒓𝟐 + 𝒂𝒓𝟑 + ⋯+ 𝒂𝒓∞ =
𝒓−𝟏
𝒏=−∞
∞ Converges if and only if 𝐫 < 𝟏
𝑿 𝒁 = 𝒂𝒏 𝒖 𝒏 𝒁−𝒏
𝒂
The above series converges to
𝒏=𝟎 𝒓−𝟏
𝑿 𝒁 = 1 + 𝒂𝟏 𝒁−𝟏 + 𝒂𝟐 𝒁−𝟐 + 𝒂𝟑 𝒁−𝟑 + ⋯ + 𝒂∞ 𝒁−∞
a = 1 & r = 𝒂𝒁−𝟏
𝒂 𝟏 𝒁
= −𝟏
=
𝒓 − 𝟏 𝒂𝒁 − 𝟏 𝒂 − 𝒁
Converges if and only if 𝐫 < 𝟏
𝒂
𝒂𝒁−𝟏 < 𝟏 <𝟏
𝒁
𝟏 𝟏 𝟏 𝟏
𝑿 𝒁 = 1 + 𝟐𝒁 + (𝟐𝒁)𝟐 + (𝟐𝒁)𝟑 + ⋯ + (𝟐𝒁)∞
𝟏
a=1&r=
𝟐𝒁
-1 1
x1/2
𝒂 𝟏 𝟐𝒁
= =
𝒓−𝟏 𝟏
− 𝟏 𝟏 − 𝟐𝒁
𝟐𝒁
𝑿 𝒁 = − 𝟐𝒁 𝒏
𝒏=𝟏 x 1
-1 1/2
𝟐𝒁
𝑿 𝒁 =−
(𝟏 − 𝟐𝒁)
𝟐𝒁 𝒛
𝑿 𝒁 = = If ROC does not include the Unit Circle,
(𝟐𝒁 − 𝟏) 𝒛 − 𝟏ൗ𝟐
Hence the system is UNSTABLE and DTFT diverges
Sum of 2 exponentials sequences
𝒏 𝒏
𝟏 −𝟏
𝒙 𝒏 = 𝒖 𝒏 + 𝒖 𝒏
𝟐 𝟑
x(n) contains 2 right sided sequences
𝒏 𝒏
𝟏 𝒏 −𝟏
𝒙𝟏 𝒏 = 𝒖 𝒏 𝒙 𝒏 =𝒂 𝒖 𝒏 𝒙𝟐 𝒏 = 𝒖 𝒏
𝟐 𝟏
𝟑
𝑿 𝒁 =
∞ (𝟏−𝒂𝒁−𝟏 ) ∞
𝑿𝟏 𝒁 = 𝒙 𝒏 𝒁
−𝒏 𝑿𝟐 𝒁 = 𝒙 𝒏 𝒁
−𝒏
𝒏=−∞
𝒏=−∞
∞ 𝒏 ∞ 𝒏
𝟏 −𝟏
𝑿𝟏 𝒁 = 𝒁
−𝒏
𝑿𝟐 𝒁 = 𝒁
−𝒏
𝒏=𝟎
𝟐 𝒏=𝟎
𝟑
𝟏 𝟏
𝑿𝟏 𝒛 = 𝑿𝟐 𝒛 = 𝟏
(𝟏−
𝟏
𝒁−𝟏 ) (𝟏+ 𝒁−𝟏 )
𝟑
𝟐
𝟏 𝟏
𝑿𝟏 𝒛 = 𝟏 𝑿𝟐 𝒛 = 𝟏
(𝟏− ) (𝟏+ )
𝟐𝒛 𝟑𝒛
𝟏 𝟏
𝑿𝟏 𝒛 = 𝟏 𝑿𝟐 𝒛 = −𝟏
(𝟏− ) (𝟏−( )
𝟐𝒛 𝟑𝒛
𝟐𝒁 𝟑𝒁
𝑿𝟏 𝒛 = 𝑿𝟐 𝒛 =
(𝟐𝒁−𝟏) (𝟑𝒁+𝟏)
𝒁 𝒁
𝑿𝟏 𝒛 = 𝑿𝟐 𝒛 =
(𝒁− 𝟏ൗ𝟐) (𝒁+ 𝟏ൗ𝟑)
𝟏 −𝟏
ROC <𝟏 ROC <𝟏
𝟐𝒁 𝟑𝒁
𝟏
ROC 𝟐𝒁 > 𝟏 ROC <𝟏
𝟑𝒁
ROC 𝒁 > 𝟏Τ𝟐 ROC 𝟑𝒁 > 𝟏
Z transform of x(n) is X(z) =𝑋1 𝑧 + 𝑋2 𝑧 ROC 𝒁 > 𝟏Τ𝟑
𝒁 𝒁
𝑿 𝒛 = 𝑿𝟏 𝒁 + 𝑿𝟐 𝒛 = +
(𝒁 − ൗ𝟐) (𝒁 + 𝟏ൗ𝟑)
𝟏
𝒁 𝒁
𝑿 𝒛 = +
(𝒁 − ൗ𝟐) (𝒁 + 𝟏ൗ𝟑)
𝟏
𝟐𝒁 𝟑𝒁
= +
(𝟐𝒁 − 𝟏) (𝟑𝒁 + 𝟏) 1
2
𝟐𝒁(𝟑𝒁 + 𝟏) 𝟑𝒁(𝟐𝒁 − 𝟏) x x
= + -1 −1 1 1
(𝟐𝒁 − 𝟏) (𝟑𝒁 + 𝟏) 3 12
𝟔𝒛𝟐 + 𝟐𝒛 + 𝟔𝒛𝟐 − 𝟑𝒛
=
(𝟐𝒁 − 𝟏)(𝟑𝒁 + 𝟏)
𝟐 𝒏=𝟎
𝟑
𝒏=−𝟏
𝟐𝒁 𝒛 𝟏
𝑿 𝒁 = = 𝑿𝟐 𝒛 = 𝟏
(𝟏+ 𝒁−𝟏 )
(𝟐𝒁 − 𝟏) 𝒛 − 𝟏ൗ𝟐 𝟑
𝟏
𝑿𝟐 𝒛 = 𝟏
(𝟏+ )
𝟑𝒛
𝟏 𝟏
𝑿𝟏 𝒛 = 𝟏 𝑿𝟐 𝒛 = −𝟏
(𝟏− ) (𝟏−( )
𝟐𝒛 𝟑𝒛
𝟐𝒁 𝟑𝒁
𝑿𝟏 𝒛 = 𝑿𝟐 𝒛 =
(𝟐𝒁−𝟏) (𝟑𝒁+𝟏)
𝒁 𝒁
𝑿𝟏 𝒛 = 𝑿𝟐 𝒛 =
(𝒁− 𝟏ൗ𝟐) (𝒁+ 𝟏ൗ𝟑)
−𝟏
ROC 𝟐𝒁 < 𝟏 ROC <𝟏
𝟑𝒁
ROC 𝟑𝒁 > 𝟏
Z transform of x(n) is X(z) =𝑋1 𝑧 + 𝑋2 𝑧 ROC 𝒁 > 𝟏Τ𝟑
𝒁 𝒁
𝑿 𝒛 = 𝑿𝟏 𝒁 + 𝑿𝟐 𝒛 = +
(𝒁 − ൗ𝟐) (𝒁 + 𝟏ൗ𝟑)
𝟏
𝒁 𝒁
𝑿 𝒛 = +
(𝒁 − ൗ𝟐) (𝒁 + 𝟏ൗ𝟑)
𝟏
𝟐𝒁 𝟑𝒁
= +
(𝟐𝒁 − 𝟏) (𝟑𝒁 + 𝟏)
1
𝟐𝒁(𝟑𝒁 + 𝟏) 𝟑𝒁(𝟐𝒁 − 𝟏)
x x 2
-1 −1 1 1
= +
(𝟐𝒁 − 𝟏) (𝟑𝒁 + 𝟏) 3 12
𝟔𝒛𝟐 + 𝟐𝒛 + 𝟔𝒛𝟐 − 𝟑𝒛
=
(𝟐𝒁 − 𝟏)(𝟑𝒁 + 𝟏)
𝒏 0<n<∞
𝟏 𝟏
𝒙 𝒏 = 𝒖 𝒏 Right sided sequence ROC 𝒁 >𝟐
𝟐
𝒏 -∞ < n < -1
𝟏 𝟏
𝒙 𝒏 =− 𝒖 −𝒏 − 𝟏 Left sided sequence ROC 𝒁 <𝟐
𝟐
Right sided sequence ROC is the intersection of X1(z) and X2(z)
0<n<∞
𝒏 𝒏
𝟏 −𝟏 ROC 𝒁 > 𝟏Τ𝟐 ROC 𝒁 > 𝟏Τ𝟑
𝒙 𝒏 = 𝒖 𝒏 + 𝒖 𝒏
𝟐 𝟑
Right and left sided sequence ROC is the intersection of X1(z) and X2(z)
𝒏 𝒏
-∞ < n < -1 0<n<∞
𝟏 −𝟏
𝒙 𝒏 =− 𝒖 −𝒏 − 𝟏 + 𝒖 𝒏 ROC 𝒁 < 𝟏Τ𝟐 ROC 𝒁 > 𝟏Τ𝟑
𝟐 𝟑
Observation from the problems
Properties of ROC
1. ROC is a ring in the Z plane centered at origin.
2. FT of x(n) converges absolutely if and only if the ROC of the Z transform includes
the unit circle.
5. If x(n) is a right sided sequence (i.e) n ≥ 0. ROC extends outward from the outermost
pole in X(z)
6. If x(n) is a left sided sequence (i.e) n < 0. ROC extends inward from the innermost pole
7. If x(n) is a two sided sequence , ROC is a ring in the Z plane bounded on the
interior and exterior by a pole and not containing any pole in the ROC.
Common Z transform pairs
Z transform ROC
δ(n) 1 All Z
𝟏
U(n) 𝐳 >𝟏
𝟏 − 𝒛−𝟏
𝟏 𝐳 <𝟏
-U(-n-1)
𝟏 − 𝒛−𝟏
All z except z=0,
δ(n-m) 𝒛−𝒎
If m>0 &if m<0
𝟏 𝐳 > 𝐚
𝐚𝐧 𝐮(𝐧)
𝟏 − 𝒂𝒛−𝟏
𝟏
-𝐚𝐧 𝐮(−𝐧 − 𝟏) 𝐳 < 𝐚
𝟏 − 𝒂𝒛−𝟏
𝒂𝒛−𝟏
n𝐚𝐧 𝐮(𝐧) 𝐳 > 𝐚
(𝟏 − 𝒂𝒛−𝟏 )𝟐
𝐧 𝒂𝒛−𝟏
-n𝐚 𝐮(−𝐧 − 𝟏) 𝐳 < 𝐚
(𝟏 − 𝒂𝒛−𝟏 )𝟐
Properties of ZT and DTFT
Linearity of Z transform
Let x1(n) and x2(n) Let X1(z) and X2(z) 𝑍 𝑎𝑥1 𝑛 + 𝑏𝑥2 𝑛 = 𝑎𝑋1 𝑧 + 𝑏𝑋2 (𝑧)
∞
Linearity of DTFT
Let x1(n) and x2(n) Let X1(ω) and X2(ω) 𝐷𝑇𝐹𝑇 𝑎𝑥1 𝑛 + 𝑏𝑥2 𝑛 = 𝑎𝑋1 ω + 𝑏𝑋2 (ω)
∞
𝒁−𝟓 𝒆−𝒋𝝎𝟓
𝒁 𝒂𝒏 𝒖 𝒏−𝟓 = 𝑫𝑻𝑭𝑻 𝒂𝒏 𝒖 𝒏−𝟓 =
𝟏 − 𝒂𝒛−𝟏 𝟏 − 𝒂𝒆−𝒋𝝎
Time scaling in Z transform Time scaling in DTFT
Let y(n) =x(an) Let y(n) =x(an)
1ൗ 1ൗ
𝑍 𝑥 𝑎𝑛 =𝑋 𝑧 𝑧 𝑎 𝐷𝑇𝐹𝑇 𝑥 𝑎𝑛 =𝑋 𝜔 𝑒 𝑎
∞ ∞
𝑍 𝑥 𝑎𝑛 = 𝑥 𝑎𝑛 𝑧 −𝑛 𝐷𝑇𝐹𝑇 𝑥 𝑎𝑛 = 𝑥 𝑎𝑛 𝑒 −𝑗𝜔𝑛
𝑛=−∞ 𝑛=−∞
𝑛=−∞ 𝑛=−∞
1ൗ 1ൗ
𝑍 𝑥 𝑎𝑛 = 𝑋(𝑍)𝑧 𝑎 𝐷𝑇𝐹𝑇 𝑥 𝑎𝑛 =𝑋 𝜔 𝑒 𝑎
∞ Assume −𝑛 = 𝑚
𝑍 𝑥(−𝑛) = 𝑥(𝑙) 𝑧 𝑙 ∞
𝑙=−∞ 𝐹 𝑥(−𝑛) = 𝑥(𝑚) 𝑒 𝑗𝜔𝑚
∞
𝑚=−∞
𝑍 𝑥(−𝑛) = 𝑥(𝑙) 𝑧 −1 −𝑙 ∞
𝑙=−∞ = 𝑥(𝑚) 𝑒 −𝑗(−𝜔)𝑛
𝑚=−∞
= 𝑋(𝑧 −1 )
= 𝑋 𝑒 −𝑗𝜔 𝑜𝑟 𝑋(−𝜔)
5
Frequency shifting Property of DTFT
If 𝐹 𝑥(𝑛) = 𝑋 𝜔
Then 𝐹 𝑥 𝑛 𝑒 −𝑗𝜔0 𝑚 = 𝑋 𝜔 − 𝜔0
Proof:
∞
𝑛=−∞
= 𝑋(𝜔 − 𝜔0 )
6
Symmetry Property of DTFT
The DTFT 𝑋 𝜔 is a complex function of 𝜔 and can be expressed as
𝑋 𝜔 = 𝑋𝑅 𝜔 + 𝑗𝑋𝐼 (𝜔)
𝑋𝑅 𝜔 = 𝑥 𝑛 cos 𝜔𝑛 𝑋𝐼 𝜔 = − 𝑥 𝑛 sin 𝜔𝑛
𝑛=−∞ 𝑛=−∞
Since cos −𝜔 𝑛 = cos 𝜔𝑛 and sin −𝜔 𝑛 = − sin 𝜔𝑛
∞ ∞
𝑋𝑅 −𝜔 = 𝑥 𝑛 cos(−𝜔)𝑛 𝑋𝐼 −𝜔 = − 𝑥 𝑛 sin −𝜔 𝑛
𝑛=−∞ 𝑛=−∞
∞ ∞
𝑍𝑥 𝑛 = 𝑥 𝑛 𝑧 −𝑛 𝐷𝑇𝐹𝑇 𝑥 𝑛 = 𝑥 𝑛 𝑒 −𝑗𝜔𝑛
𝑛=−∞ 𝑛=−∞
Differentiate w.r.t Z Differentiate w.r.t ω
∞
𝑑𝑋(𝑧) ∞
= 𝑥 𝑛 (−𝑛)𝑧 −𝑛−1) 𝑑𝑋(𝜔)
𝑑𝑧 = 𝑥 𝑛 (−𝑗𝑛)𝑒 −𝑗𝜔𝑛
𝑛=−∞ 𝑑𝜔
𝑛=−∞
Multiply both sides by -z Multiply both sides by j
∞ ∞
−𝑧𝑑𝑋(𝑧) 𝑑𝑋(𝜔)
= 𝑥 𝑛 𝑛 𝑧 𝑧 −𝑛−1) 𝑗 = 𝑛 𝑥 𝑛 𝑒 −𝑗𝜔𝑛
𝑑𝑧 𝑑𝜔
𝑛=−∞ 𝑛=−∞
∞
−𝑧𝑑𝑋(𝑧) 𝑑𝑋 𝜔
= 𝑥 𝑛 𝑛 𝑧 −𝑛 𝐷𝑇𝐹𝑇 𝑛𝑥 𝑛 =𝑗
𝑑𝑧 𝑑𝜔
𝑛=−∞
𝑑𝑋 𝑧
𝑍 𝑛𝑥 𝑛 = −𝑧
𝑑𝑧
Parseval’s Theorem - DTFT
∞ 𝜋
1
If 𝐹 𝑥(𝑛) = 𝑋 𝜔 Then 𝐸 = 𝑥(𝑛) 2
= න 𝑋(𝜔) 2 𝑑𝜔
2𝜋
𝑛=−∞ −𝜋
Proof:
𝜋 ∗
∞ ∞ ∞
2
1
𝐸 = 𝑥(𝑛) = 𝑥 𝑛 𝑥∗ 𝑛 = 𝑥 𝑛 න 𝑋 𝜔 𝑒 𝑗𝜔𝑛 𝑑𝜔
2𝜋
𝑛=−∞ 𝑛=−∞ 𝑛=−∞ −𝜋
∞ 𝜋
1
= 𝑥 𝑛 න 𝑋 ∗ (𝜔)𝑒 −𝑗𝜔𝑛 𝑑𝜔
2𝜋
𝑛=−∞ −𝜋
𝜋 ∞
1
𝐸= න 𝑋 ∗ (𝜔) 𝑥 𝑛 𝑒 −𝑗𝜔𝑛 𝑑𝜔
2𝜋
−𝜋 𝑛=−∞
𝜋
1
= න 𝑋 ∗ (𝜔) 𝑋(𝜔) 𝑑𝜔
2𝜋
−𝜋
𝜋
1
= න 𝑋(𝜔) 2 𝑑𝜔
2𝜋 9
−𝜋
Find the Z transform and DTFT of 𝒙 𝒏 = 𝒏𝒖(𝒏)
𝟏 𝟏
𝒁𝒖 𝒏 = 𝑫𝑻𝑭𝑻 𝒖 𝒏 =
𝟏 − 𝒛−𝟏 𝟏 − 𝒆−𝒋𝝎
𝒛 Differentiate w.r.t ω
𝒁𝒖 𝒏 =
𝒛−𝟏
Differentiate w.r.t Z 𝑑𝑋(𝜔) −𝑗𝑒 −𝑗𝜔
=
𝑑𝑋(𝑧) 𝑧−1−𝑧 −1 𝑑𝜔 (1 − 𝑒 −𝑗𝜔 )2
= =
𝑑𝑧 (𝑧 − 1)2 (𝑧 − 1)2 Multiply both sides by j
−𝒛𝒅𝑿(𝒛) 𝒛−𝟏
=
𝒅𝒛 (𝟏 − 𝒛−𝟏 )𝟐
Convolution in ZT Convolution in DTFT
∞
𝑦 𝑛 = 𝑥 𝑛 ⊗ ℎ 𝑛 = 𝑥 𝑘 ℎ(𝑛 − 𝑘)
𝑘=−∞
∞ ∞
𝑍 𝑦(𝑛) = 𝑥 𝑘 ℎ(𝑛 − 𝑘) 𝑧 −𝑛
𝑛=−∞ 𝑘=−∞
Assume 𝑛 − 𝑘 = 𝑚 and 𝑛 = 𝑘 + 𝑚
∞ ∞
𝑍 𝑦(𝑛) = ℎ 𝑚 𝑧 −𝑚 𝑥 𝑘 𝑧 −𝑘
𝑚=−∞ 𝑘=−∞
𝟏 IZT
𝑿 𝒁 =
(𝟏−𝒂𝒁−𝟏 )
ROC 𝒁 > 𝒂 𝒙 𝒏 = 𝒂𝒏 𝒖 𝒏
IZT
𝑿 𝒁 =
𝟏
(𝟏−𝒂𝒁−𝟏 )
ROC 𝒁 < 𝒂 𝒙 𝒏 = −𝒂𝒏 𝒖 −𝒏 − 𝟏
𝒙 𝒏 = 𝒙𝟏 𝒌 𝒙𝟐 (𝒏 − 𝒌)
𝒌=−∞
𝒙 𝒏 = 𝒙𝟏 𝒏 ∗ 𝒙𝟐 (𝒏)
Using Convolution Theorem, find the inverse Z transform.
𝑧
𝑋(𝑧) =
(𝑧 − 1)2
Split into a product of two Z transforms 𝑿(𝒛) = 𝑿𝟏 𝒛 𝑿𝟐 (𝒛)
𝑧 1
𝒙 𝒏 =𝒖 𝒏 𝑿𝟏 𝒛 = 𝑿𝟐 𝒛 = 𝒙 𝒏 =𝒖 𝒏−𝟏
𝑧−1 𝑧−1
𝟏
𝒙𝟏 𝒏 = 𝒖 𝒏 𝒁−𝟏
𝑿 𝒁 = 𝒙𝟐 𝒏 = 𝒖 𝒏 − 𝟏 𝑿 𝒁 =
(𝟏−𝒁−𝟏 ) (𝟏−𝒁−𝟏 )
𝒛 ∞ 𝟏
𝑿 𝒁 = 𝑿 𝒁 =
𝒛−𝟏 𝒙 𝒏 = 𝒙𝟏 𝒌 𝒙𝟐 (𝒏 − 𝒌) 𝒛−𝟏
𝒌=−∞
𝒏
𝒙 𝒏 = 𝒖 𝒌 𝒖(𝒏 − 𝟏 − 𝒌)
𝒌=𝟎
𝒙 𝒏 = 𝒖 𝟎 𝒖 𝒏 − 𝟏 + 𝒖 𝟏 𝒖 𝒏 − 𝟐 + 𝒖 𝟑 𝒖 𝒏 − 𝟑 + ⋯ … … … . + 𝒖 𝒏 𝒖 −𝟏
𝒙 𝒏 = 𝟏 + 𝟏 + 𝟏 + ⋯……..+ 𝟏 + 𝟎 = 𝒏
𝒙 𝒏 = 𝒏 𝒖(𝒏)
Using Properties of Z Transform find x[n] for
𝐗(𝐳) = 𝐥𝐨𝐠 𝟏 + 𝒂𝒛−𝟏 , 𝒛 >𝒂
Differentiate X(z) w.r.t Z 𝟏
𝑿 𝒁 = (𝟏−𝒂𝒁−𝟏 )
𝟏
𝑿 𝒁 =
(𝟏+𝒂𝒁−𝟏 )
dX(z) −𝑎𝑧 −2
= 𝒙 𝒏 = 𝒂𝒏 𝒖 𝒏 𝒙 𝒏 = −𝒂 𝒏 𝒖 𝒏
𝑑𝑧 1 + 𝑎𝑧 −1
𝒂
Multiply both sides by Z 𝑿 𝒁 = (𝟏+𝒂𝒁−𝟏 )
dX(z) 𝑎𝑧 −2 × 𝑧 𝒙 𝒏 = 𝒂 −𝒂 𝒏 𝒖 𝒏
−𝑧 =
𝑑𝑧 1 + 𝑎𝑧 −1
Time shifting property
dX(z) 𝑎𝑧 −1
−𝑧 = 𝒂𝒁−𝟏
𝑿 𝒁 = (𝟏+𝒂𝒁−𝟏 )
𝑑𝑧 1 + 𝑎𝑧 −1
Taking Inverse Z transform on both sides 𝒏−𝟏 𝒖
𝒙 𝒏 = 𝒂 −𝒂 𝒏−𝟏
By multiplication property
𝒏−𝟏 𝒖(𝒏 − 𝟏)
𝒏𝒙 𝒏 = 𝒂 −𝒂
𝐝𝑿(𝒛)
𝒛−𝟏 −𝒛 = 𝒏𝒙(𝒏) 𝟏 𝒏
𝟏
𝒅𝒛 𝒙 𝒏 = 𝒂 −𝒂 𝒖(𝒏 − 𝟏)
𝒏 −𝒂
𝒂𝒛−𝟏 − −𝒂 𝒏
𝒛−𝟏 = 𝒂 −𝒂 𝒏−𝟏 𝒖(𝒏 − 𝟏) 𝒙 𝒏 = 𝒖(𝒏 − 𝟏)
𝟏 + 𝒂𝒛−𝟏 𝒏
3. Partial Fraction Method
1
𝑋(𝑧) = ROC 𝒁 > 𝟏
1 + 𝑧 −1 (1 − 𝑧 −1 )2
X(z) 𝑧2
=
z 𝑧 + 1 (𝑧 − 1)2
2. Apply partial fraction to determine the constants
X(z) 𝐴1 𝐴2 𝐴3
= + +
z 𝑧+1 𝑧−1 (𝑧 − 1)2
X(z) 1ൗ 3ൗ 1ൗ
𝐴1 = (𝑧 + 1) × | = 1/4 X(z) 4 + 4 + 2
z z=-1 =
𝑑 X(z) z 𝑧+1 𝑧−1 (𝑧 − 1)2
𝐴2 = {(𝑧 − 1)2 × }|z=1 = 3/4
𝑑𝑧 z
X(z)
𝐴3 = (𝑧 − 1) × | = 1/2
z z=1
𝒁 𝟏
1ൗ 3ൗ 1ൗ 𝑿 𝒁 = 𝑿 𝒁 =
X(z) (𝒁−𝒂) (𝟏−𝒂𝒁−𝟏 )
= 4 + 4 + 2
z 𝑧+1 𝑧−1 (𝑧 − 1)2 𝒙 𝒏 = 𝒂𝒏 𝒖 𝒏
1ൗ 𝑧 3ൗ 𝑧 1ൗ 𝑧 𝒁 𝟏
X(z) = 4 + 4 + 2 𝑿 𝒁 = 𝑿 𝒁 =
(𝒁+𝒂) (𝟏+𝒂𝒁−𝟏 )
𝑧+1 𝑧−1 (𝑧 − 1)2
𝒙 𝒏 = −𝒂𝒏 𝒖 𝒏
1ൗ 3ൗ 1ൗ 𝑧 −1
X(z) = 4 + 4 + 2
1 + 𝑧 −1 1 − 𝑧 −1 (1 − 𝑧 −1 )2 𝑿 𝒁 = 𝒁 𝒛−𝟏
(𝒁+𝒂)𝟐
𝑿 𝒁 =
(𝟏−𝒂𝒁−𝟏 )𝟐
𝟏 𝟑 𝟏
𝒙 𝒏 = (−𝟏) 𝒖 𝒏 + (𝟏) 𝒖 𝒏 + 𝒏(𝟏)𝒏 𝒖 𝒏
𝒏 𝒏
𝟒 𝟒 𝟐
𝟏 𝟑 𝟏
𝒙 𝒏 = (−𝟏) + (𝟏) + 𝒏(𝟏)𝒏 𝒖 𝒏
𝒏 𝒏
𝟒 𝟒 𝟐
Determine x(n) for (i) ROC 𝒛 > 𝟏 (ii) ROC 𝒛 < 𝟎. 𝟓 (iii) ROC 0.5 < 𝒛 < 𝟏
1
𝑋(𝑧) =
1 − 1.5𝑧 −1 + 0.5𝑧 −2
1. Convert X(z) into positive powers of Z
z2
X(z) =
z − 1 (z − 0.5)
X(z) 𝑧 x x
= 0.5 1
z z − 1 (z − 0.5)
2. Apply partial fraction to determine the constants
X(z) 𝐴1 𝐴2 2𝑧 𝑧
= + X(z) = −
z 𝑧−1 𝑧 − 0.5 𝑧−1 𝑧 − 0.5
X(z)
𝐴1 = (𝑧 − 1) × | =2 Poles are located at 1 and 0.5
z z=1
X(z)
𝐴2 = (𝑧 − 0.5) × | = -1 2 1
z z=0.5 X(z) = −
1−𝑧 −1 1 − 0.5𝑧 −1
X(z) 2 1
= −
z 𝑧−1 𝑧 − 0.5
2 1
X(z) = − ROC 𝒛 > 𝟏
1 − 𝑧 −1 1 − 0.5𝑧 −1
(i) If ROC 𝑧 > 1, then it is a right sided sequence
Poles are located at 1 and 0.5
𝟏 x x
𝑿 𝒁 = 0.5 1
(𝟏−𝒂𝒁−𝟏 )
𝒙 𝒏 = 𝒂𝒏 𝒖 𝒏
𝒙 𝒏 = 𝟐(𝟏)𝒏 𝒖 𝒏 − (𝟎. 𝟓)𝒏 𝒖 𝒏
𝒙 𝒏 = {𝟐(𝟏)𝒏 − 𝟎. 𝟓 𝒏 }𝒖 𝒏
𝒙 𝒏 = −𝒂𝒏 𝒖 −𝒏 − 𝟏 x x
0.5 1
𝒙 𝒏 = {𝟐 + 𝟎. 𝟓𝒏 }𝒖(−𝒏 − 𝟏)}
(iii) If ROC 0.5 < 𝑧 < 1, then it is a right and left sided sequence
𝟏 𝟏
𝑿 𝒁 = 𝑿 𝒁 =
(𝟏−𝒂𝒁−𝟏 ) (𝟏−𝒂𝒁−𝟏 )
𝒙 𝒏 = 𝒂𝒏 𝒖 𝒏 𝒙 𝒏 = −𝒂𝒏 𝒖 −𝒏 − 𝟏
x x
𝒏 𝒖(𝒏) 0.5 1
𝒙 𝒏 = −𝟐𝒖 −𝒏 − 𝟏 − 𝟎. 𝟓
4. Long Division Method (Power Series Expansion)
In this method, the given X(z) is to be expanded into a power series of the form,
∞
which converges in the given ROC.
𝑿 𝒛 = 𝑪𝒏 𝒛−𝒏
𝒏=−∞
Prior to performing the long division, it is usually most convenient to arrange both
the numerator and denominator powers of z - 1 or z.
For a right sided or causal sequence ( ROC is 𝒛 > 𝒓𝒐 ), the numerator and
denominator both will be put in ascending powers of z - 1 (or descending powers of z)
For a left sided or Anti causal sequence ( ROC is 𝒛 < 𝒓𝒐 ), the numerator and
denominator both will be put in descending powers of z - 1 (or ascending powers of z)
∞
The z transform of a two sided sequence 𝑿(𝒛) = 𝒙(𝒏)𝒛−𝒏
𝒏=−∞
𝑿 𝒛 = 𝒙 𝒏 𝒛−𝒏 = + ⋯ 𝒙 −𝟑 𝒛𝟑 + 𝒙 −𝟐 𝒛𝟐 + 𝒙 −𝟏 𝒛𝟏 + 𝒙 𝟎 𝒛𝟎
𝒏=−∞
X(z) will have only positive powers of z
1
Obtain the causal or right sided sequence 𝑋(𝑧) =
1 + 𝑧 −1 + 𝑧 −2
𝟏 − 𝒛−𝟏 + 𝒛−𝟑 − 𝒛−𝟒 + 𝒛−𝟔 For a right sided the numerator and
𝟏 + 𝒛−𝟏 + 𝒛−𝟐 𝟏 denominator both will be put in
- + −1
- ascending powers of z - 1
1−𝑧 + 𝑧 −2
𝑧 −1 − 𝑧 −2
- −1 + −2
+
𝑧 −𝑧 − 𝑧 −3
𝑧 −3
- - -
𝑧 −3 + 𝑧 −4 + 𝑧 −5
−𝑧 −4 − 𝑧 −5
+ + +
−𝑧 −4 − 𝑧 −5 − 𝑧 −6
𝑿 𝒛 =𝟏− 𝒛−𝟏 + 𝒛−𝟑 − 𝒛−𝟒 + 𝒛−𝟔
𝑧 −6
𝒙 𝒏 = 𝟏, −𝟏, 𝟎, 𝟏, −𝟏, 𝟎, 𝟏, …
𝑧 𝟏
𝑋 𝑧 = 2 1
, 𝒛 <
2𝑧 − 3𝑧 + 1 𝟐
𝟏
As ( ROC is 𝒛 < 𝟐 ), the numerator and denominator both are arranged in descending
If the system has more than one pole, then system is causal if and only if the
ROC of the system function H(z) is exterior of the largest pole.
If the system has more than one pole, then system is anti causal if and only if
the ROC of the system function H(z) is interior of the smallest pole.
𝐻(𝑧) 𝐴 𝐵
= +
𝑧 𝑧 − 3 𝑧 − 0.5
𝟐 𝟏
𝑯(𝒛) = −𝟏
+
𝟏 − 𝟑𝒛 𝟏 − 𝟎. 𝟓𝒛−𝟏
(i) Determine ROC & h(n) for stable system.
Since the system is stable, ROC must include unit circle.
To include unit circle, ROC must be within 0.5 & 3
State the causality & stability of the system defined by the following eqs.
𝟏 𝟏 𝟏
𝑿 𝒛 = −𝟏
+ −𝟏
+
𝟏 − 𝟐𝒛 𝟏 − 𝟓𝒛 𝟏 − 𝟎. 𝟓𝒛−𝟏
ROC 𝒛 > 0.5 ROC 𝒛 > 2 ROC 𝒛 > 5
Inverse Discrete Time Fourier Transform
𝟏
Determine the sequence from the given FT 𝑿(𝒆𝒋𝝎 ) =
(𝟏 − 𝒂𝒆−𝒋𝝎 )(𝟏 − 𝒃𝒆−𝒋𝝎 )
Apply partial fraction
𝑨 𝑩
𝑿 𝒆𝒋𝝎 = +
𝟏 − 𝒂𝒆−𝒋𝝎 𝟏 − 𝒃𝒆−𝒋𝝎
𝑨 𝑩
𝒙=𝒆 −𝒋𝝎
𝑯 𝒆𝒋𝝎 = +
𝟏 − 𝒂𝒙 𝟏 − 𝒃𝒙
𝟏 𝒂
𝑨= × 𝟏 − 𝒂𝒙 𝑨=
𝟏 − 𝒂𝒙 𝟏 − 𝒃𝒙 𝒙 = 𝟏ൗ𝒂 (𝒂 − 𝒃)
𝟏
𝑩= × 𝟏 − 𝒃𝒙 −𝒃
𝟏 − 𝒂𝒙 𝟏 − 𝒃𝒙 𝒙 = 𝟏ൗ𝒃 𝑩=
(𝒂 − 𝒃)
𝒂ൗ 𝒃ൗ
𝒂−𝒃 𝒂−𝒃 𝟏 𝒂 𝒃
𝑿 𝒆𝒋𝝎 = − = −𝒋𝝎
−
𝟏 − 𝒂𝒙 𝟏 − 𝒃𝒙 𝒂 − 𝒃 𝟏 − 𝒂𝒆 𝟏 − 𝒃𝒆−𝒋𝝎
𝒂ൗ 𝒃ൗ
𝒂−𝒃 𝒂−𝒃 𝟏 𝒂 𝒃
𝑿 𝒆𝒋𝝎 = − = −
𝟏 − 𝒂𝒙 𝟏 − 𝒃𝒙 𝒂 − 𝒃 𝟏 − 𝒂𝒆−𝒋𝝎 𝟏 − 𝒃𝒆−𝒋𝝎
𝟏
Using property 𝒂𝒏 𝒖 𝒏 = 𝑿 𝒆𝒋𝝎 =
(𝟏−𝒂𝒆−𝒋𝝎 )
𝟏
𝒙 𝒏 = 𝒂𝒏 𝒖 𝒏 − 𝒃𝒏 𝒖 𝒏
𝒂−𝒃
𝒂 𝒂
𝒙 𝒏 = 𝒂𝒏 𝒖 𝒏 − 𝒃𝒏 𝒖 𝒏
𝒂−𝒃 𝒂−𝒃
𝒂𝒏+𝟏 𝒃𝒏+𝟏
𝒙 𝒏 = − 𝒖 𝒏
𝒂−𝒃 𝒂−𝒃
𝟏
𝒙 𝒏 = 𝒂𝒏+𝟏 − 𝒃𝒏+𝟏 𝒖 𝒏
𝒂−𝒃
Determine the sequence x(n) for the given FT
𝒋𝝎
−𝟐
𝑿 𝒆𝒋𝝎 =𝒆 𝒇𝒐𝒓 − 𝝅 ≤ 𝝎 ≤ 𝝅
𝟏 𝝅
𝒙 𝒏 = න 𝑿(𝒆𝒋𝝎 ) 𝒆𝒋𝝎𝒏 𝒅𝝎
𝟐𝝅 −𝝅
𝟏 𝝅 −𝒋𝝎/𝟐 𝒋𝝎𝒏
𝒙 𝒏 = න 𝒆 𝒆 𝒅𝝎
𝟐𝝅 −𝝅
𝟏 𝝅 𝒋𝝎(𝒏−𝟏)
𝒙 𝒏 = න 𝒆 𝟐 𝒅𝝎
𝟐𝝅 −𝝅
𝝅
𝟏 𝟏
𝒋𝝎(𝒏−𝟐)
𝒙 𝒏 = 𝒆
𝟏
𝟐𝝅𝒋(𝒏 − )
𝟐 −𝝅
𝟏 𝟏
𝒋𝝅(𝒏− )
𝟏
−𝒋𝝅(𝒏− )
𝒙 𝒏 = 𝒆 𝟐 − 𝒆 𝟐
𝟏
𝟐𝝅𝒋(𝒏 − )
𝟐 𝟏
sin 𝝅(𝒏 − )
𝒙 𝒏 = 𝟐
𝒆𝒋𝜽 − 𝒆−𝒋𝜽 𝟏
= sin 𝜽 𝝅(𝒏 − )
𝟐𝒋 𝟐
Discrete Fourier series (DFS)
Any periodic function/signals can be expressed in Fourier series (FS)
X[Ꞷ] Discrete
x(t) Continuous
Periodic Aperiodic
FS spectrum
signal
Discrete Discrete
X[k]
Periodic Periodic
x[n] spectrum
signal
DFS
The Fourier series representation of a periodic discrete-time sequence is called discrete Fourier serious (DFS)
1
Discrete Fourier series (DFS)
Consider a periodic discrete time signal x[n] with period N
i.e. 𝑥[𝑛] = 𝑥[𝑛 + 𝑘𝑁] for any integer value of k.
The exponential form of the Fourier series for discrete time signal x[n] is given by
𝑁−1
1 𝑗2𝜋𝑘𝑛ൗ
𝑥[𝑛] = 𝑋(𝑘)𝑒 𝑁
𝑁
𝑘=0
Here 𝑿(𝒌) , 𝒌 = 𝟎, 𝟏, … … . . 𝑵 − 𝟏 are the coefficients of series expansion. They are also called Fourier coefficients.
−𝑗 2𝜋Τ
where 𝑊𝑁 = 𝑒 𝑁
The equation for x[n] & X(k) are called DFS synthesis and analysis pair. Hence, X(k) & x[n] are periodic sequences.
Trigonometric form of Discrete Fourier series
∞ ∞
𝑁−1 𝑁−1
2 2𝜋 𝑁 𝑁 1
𝐵 𝑘 = 𝑥(𝑛) sin 𝑘 𝑛 , 𝑘 = 1,2, … . . … , −1 𝐴 = 𝑥(𝑛) cos 𝜋𝑛
𝑁 𝑁 2 2 𝑁
𝑛=0 𝑛=0
Trigonometric form of DFs
𝑁−1 /2 𝑁−1 /2
2𝜋 2𝜋 𝑁
𝑥 𝑛 =𝐴 0 + 𝐴(𝑘) cos 𝑘 𝑛 + 𝐵(𝑘) sin 𝑘 𝑛 +𝐴 cos 𝜋𝑛
𝑁 𝑁 2
𝑘=1 𝑘=1
𝑁−1 𝑁−1
1 2 2𝜋 𝑁−1
𝐴 0 = 𝑥(𝑛) 𝐴 𝑘 = 𝑥(𝑛) cos 𝑘 𝑛 , 𝑘 = 1,2, … . . … ,
𝑁 𝑁 𝑁 2
𝑛=0 𝑛=0
𝑁−1 𝑁−1
2 2𝜋 𝑁−1 𝑁 1
𝐵 𝑘 = 𝑥(𝑛) sin 𝑘 𝑛 , 𝑘 = 1,2, … . . … , 𝐴 = 𝑥(𝑛) cos 𝜋𝑛
𝑁 𝑁 2 2 𝑁
𝑛=0 𝑛=0
𝑵−𝟏
If N is odd, A(0) remains same as in the case of N is even, A(k) & B(k) are good for 𝒌 = 𝟏, 𝟐, … . . … , ,
𝟐
𝑋(0) 𝑋 𝑘 + 𝑋(𝑁 − 𝑘) 𝑁
𝐴 0 = 𝐴 𝑘 = , 𝑘 = 1,2, … , − 1
𝑁 𝑁 2
𝑗 𝑋 𝑘 − 𝑋(𝑁 − 𝑘) 𝑁
𝐵 𝑘 = , 𝑘 = 1,2, … , − 1
𝑁 2
For N is odd, relationship between X(k) & A(k) and B(k)
𝑋(0)
𝐴 0 =
𝑁
𝑋 𝑘 + 𝑋(𝑁 − 𝑘) 𝑁−1
𝐴 𝑘 = , 𝑘 = 1,2, … , Note:
𝑁 2
A(0) – remains same
𝑗 𝑋 𝑘 − 𝑋(𝑁 − 𝑘) 𝑁−1 𝑁−1
𝐵 𝑘 = , 𝑘 = 1,2, … , A(k) & B(k) will be for 𝑘 = 1,2, … ,
2
𝑁 2
Find both the exponential and trigonometric forms of the DFS representation of x(n) for the figure shown
x(n) 3
2
1
The exponential form of DFS is given by
𝑁−1 𝑁−1
-3 -2 -1 0 1 2 3 4 5 6 7 8 9
1 𝑗2𝜋𝑘𝑛ൗ 1
𝑥 𝑛 = 𝑋(𝑘)𝑒 𝑁 = 𝑋(𝑘)𝑊𝑁−𝑛𝑘 for all n
𝑁 𝑁 −𝑗 2𝜋ൗ4 ×0
𝑘=0 𝑘=0 𝑊40 = 𝑒 =1
𝑁−1 𝑁−1
−𝑗2𝜋𝑘𝑛ൗ −𝑗 2𝜋ൗ4 ×1 −𝑗 𝜋ൗ2
𝑋 𝑘 = 𝑥(𝑛)𝑒 𝑁 = 𝑥(𝑛)𝑊𝑁𝑛𝑘 for all k 𝑊41 = 𝑒 = 𝑒
𝑛=0 𝑛=0
𝜋 𝜋
= cos − 𝑗 sin = −𝑗
To determine the exponential form of the DFS, calculate 2 2
𝑊𝑁𝑘 for different value of k. −𝑗 2𝜋ൗ4 ×2
𝑊42 = 𝑒 = 𝑒 −𝑗 𝜋
= −1
−𝑗 2𝜋ൗ𝑁 𝑘 −𝑗 2𝜋ൗ4 ×3 −𝑗 3𝜋ൗ2
𝑊𝑁𝑘 = 𝑒 From the problem, N = 4 𝑊43 = 𝑒 = 𝑒 =𝑗
2𝜋ൗ ×4
K varies from 0 to 3 (N-1) 𝑊44 = 𝑒 −𝑗 4 =1
𝑁−1 𝑁−1
1 𝑗2𝜋𝑘𝑛ൗ 1
The exponential form of DFS is given by 𝑥 𝑛 = 𝑋(𝑘)𝑒 𝑁 = 𝑋(𝑘)𝑊𝑁−𝑛𝑘 for all n
𝑁 𝑁
𝑘=0 𝑘=0
𝑁−1 𝑁−1
where 𝑋 𝑘 = 𝑥(𝑛)𝑒
−𝑗2𝜋𝑘𝑛ൗ
𝑁 = 𝑥(𝑛)𝑊𝑁𝑛𝑘 for all k
𝑛=0 𝑛=0
4−1
(0)𝑛
For k=0, 𝑋 0 = 𝑥(𝑛)𝑊4 = 𝑥 0 + 𝑥 1 + 𝑥(2) + 𝑥 3 = 0 + 1 + 2 + 3 = 𝟔
𝑛=0
3
(1)𝑛
For k=1, 𝑋 1 = 𝑥(𝑛)𝑊4 = 𝑥 0 𝑊40 + 𝑥 1 𝑊41 + 𝑥 2 𝑊42 + 𝑥 3 𝑊43
𝑛=0
= 0 1 + 1 −𝑗 + 2 −1 + 3 𝑗 = −𝟐 + 𝒋𝟐
3
(2)𝑛
For k=2, 𝑋 2 = 𝑥(𝑛)𝑊4 = 𝑥 0 𝑊40 + 𝑥 1 𝑊42 + 𝑥 2 𝑊44 + 𝑥 3 𝑊46
𝑛=0
= 0 + 1 −1 + 2 1 + 3 −1 = −𝟐
3
For k=3, 𝑋 3 = 𝑥(𝑛)𝑊4(3)𝑛 = 𝑥 0 𝑊40 + 𝑥 1 𝑊43 + 𝑥 2 𝑊46 + 𝑥 3 𝑊49
𝑛=0
= 0 + 1 𝑗 + 2 −1 + 3 −𝑗 = −𝟐 − 𝒋𝟐
𝑁−1 𝑁−1
−𝑗2𝜋𝑘𝑛ൗ
𝑋 𝑘 = 𝑥(𝑛)𝑒 𝑁 = 𝑥(𝑛)𝑊𝑁𝑛𝑘 for all k
𝑛=0 𝑛=0
𝑁−1 𝑁−1
1 𝑗2𝜋𝑘𝑛ൗ 1
𝑥 𝑛 = 𝑋(𝑘)𝑒 𝑁 = 𝑋(𝑘)𝑊𝑁−𝑛𝑘 for all n
𝑁 𝑁
𝑘=0 𝑘=0
4−1
1 −𝑛𝑘
1
𝑥 𝑛 = 𝑋(𝑘)𝑊4 = 𝑋 0 + 𝑋 1 𝑊4−𝑛 + 𝑋 2 𝑊4−2𝑛 + 𝑋(3)𝑊4−3𝑛
4 4
𝑘=0
1 𝜋ൗ 𝑛 3𝜋ൗ 𝑛
= 3 + −1 + 𝑗1 𝑒 𝑗 2 − 𝑒 𝑗𝜋𝑛 − 1 + 𝑗 𝑒 𝑗 2 Answer
2
𝑁ൗ −1 𝑁ൗ −1
2 2
2𝜋 2𝜋 𝑁
𝑥 𝑛 = 𝐴 0 + 𝐴(𝑘) cos 𝑘 𝑛 + 𝐵(𝑘) sin 𝑘 𝑛 +𝐴 cos 𝜋𝑛
𝑁 𝑁 2
𝑘=1 𝑘=1
𝑋(0)
𝐴 0 =
𝑁
𝑋 𝑘 + 𝑋(𝑁 − 𝑘) 𝑁 𝑗 𝑋 𝑘 − 𝑋(𝑁 − 𝑘) 𝑁
𝐴 𝑘 = , 𝑘 = 1,2, … , − 1 𝐵 𝑘 = , 𝑘 = 1,2, … , − 1
𝑁 2 𝑁 2
To determine trigonometric form of DFS , A(0), A(1), B(1) and A(2) are determined as follow
4 𝑋(0) 6 3 𝑋 1 + 𝑋(4 − 1) −2 + 𝑗2 + −2 − 𝑗2
𝑘 = 1 𝑡𝑜 1 −1 =1 𝐴 0 = = = 𝐴 1 = = = −1
2 𝑁 4 2 4 4
𝑋 1 + 𝑋(4 − 1) −2 + 𝑗2 − −2 − 𝑗2 4 𝑋(4ൗ2) 1
𝐵 1 =𝑗 =𝑗 = −1 𝐴 = =−
4 4 2 4 2
1 1
2𝜋 2𝜋
𝑘 = 1, 𝑎𝑛𝑑 𝑁 = 4 𝑥 𝑛 = 𝐴 0 + 𝐴(𝑘) cos 𝑘 𝑛 + 𝐵(𝑘) sin 𝑘 𝑛 + 𝐴 2 cos 𝜋𝑛
4 4
𝑘=1 𝑘=1
𝜋 𝜋 3 𝜋 𝜋 1
𝑥 𝑛 = 𝐴 0 + 𝐴 1 cos 𝑛 + 𝐵(1) sin 𝑛 + 𝐴 2 cos 𝜋𝑛 𝑥 𝑛 = − 𝑐𝑜𝑠 𝑛 − 𝑠𝑖𝑛 𝑛 − 𝑐𝑜𝑠 𝜋𝑛
2 2 2 2 2 2
Find both the exponential and trigonometric forms of the DFS representation of x(n) for the figure shown
x(n) 3
2
1
-3 -2 -1 0 1 2 3 4 5 6 7 8 9
3 𝜋 𝜋 1
The trignometric form of DFS is given by 𝑥 𝑛 = − 𝑐𝑜𝑠 𝑛 − 𝑠𝑖𝑛 𝑛 − 𝑐𝑜𝑠 𝜋𝑛
2 2 2 2
Find the DFS of a periodic impulse train.
∞
1, 𝑛 = 𝑟𝑁, 𝑟 − 𝑎𝑛𝑦 𝑖𝑛𝑡𝑒𝑟𝑔𝑒𝑟
We Consider the periodic impulse train 𝑥 𝑛 = 𝛿 𝑛 − 𝑟𝑁 = ቊ
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
𝑟=−∞
𝑁−1 𝑁−1
−𝑗2𝜋𝑘𝑛ൗ
𝑋 𝑘 = 𝛿[𝑛]𝑒 𝑁 = 𝑥(𝑛)𝑊𝑁𝑛𝑘 = 𝑊𝑁0 = 1 for all k
𝑛=0 𝑛=0
DFS result produced is a useful representation of a periodic impulses train in terms of sum of complex
exponentials, where all the complex exponentials have the same magnitude and phase and add to unity at
integer multiples of N and to zero for all other integers(Duality).
Periodicity of Fourier Coefficients
The Fourier coefficient X(k) represent x(n) in frequency domain. These coefficients are periodic with period ‘N’
𝑁−1
1 −𝑗2𝜋𝑘𝑛ൗ
W.K.T 𝑋 𝑘 = 𝑥(𝑛) 𝑒 𝑁 (1)
𝑁
𝑛=0
𝑁−1
1 −𝑗2𝜋𝑘𝑛ൗ
× 𝑒 −𝑗2𝜋𝑛
Consider X(k + N), 𝑋 𝑘 + 𝑁 = 𝑥(𝑛) 𝑒 𝑁 (2)
𝑁
𝑛=0
Here kn – is an integer as k & n are integer.
𝑥∗ 𝑛 𝑋 ∗ −𝑘
𝑥 ∗ −𝑛 𝑋∗ 𝑘
𝑅𝑒[𝑥 𝑛 ] 1
6. Symmetry Property 𝑋𝑒 𝑘 = 𝑋 𝑘 + 𝑋 ∗ (−𝑘)
𝑗𝐼𝑚[𝑥 𝑛 ] 2
1 1
𝑥𝑒 𝑛 = 𝑥 𝑛 + 𝑥 ∗ (−𝑛) 𝑋𝑜 𝑘 = 𝑋 𝑘 − 𝑋 ∗ (−𝑘)
2 2
1 𝑅𝑒[𝑋 𝑘 ]
𝑥𝑜 𝑛 = 𝑥 𝑛 − 𝑥 ∗ (−𝑛) 𝑗𝐼𝑚[𝑋 𝑘 ]
2
Tutorial on Z and DTFT
Tutorial – Z Transform
1 − 𝑧 −1 cos 𝜔𝑜
𝑥(𝑛) = cos 𝜔𝑜 𝑛 𝑢(𝑛) 𝑋(𝑧) =
1 − 2𝑧 −1 cos 𝜔𝑜 + 𝑧 −2
𝑧 −1 sin 𝜔𝑜
𝑥(𝑛) = sin 𝜔𝑜 𝑛 𝑢(𝑛) 𝑋(𝑧) =
1 − 2𝑧 −1 cos 𝜔𝑜 + 𝑧 −2
1 − 𝑎𝑧 −1 cos 𝜔𝑜
𝑥(𝑛) = 𝑎𝑛 cos 𝜔𝑜 𝑛 𝑢(𝑛) 𝑋(𝑧) =
1 − 2𝑎𝑧 −1 cos 𝜔𝑜 + 𝑎2 𝑧 −2
𝑑 2𝑋 𝑧 𝑑𝑋(𝑧)
𝑦(𝑛) = 𝑛2 𝑎𝑛 𝑥(𝑛) 𝑋 𝑧 =𝑧 2 +𝑧
𝑑𝑧 2 𝑑𝑧
sin[(𝑛 + 1)𝜔 1
𝑥(𝑛) = 𝑟 𝑛 𝑢(𝑛), 0 < 𝑟 < 1 𝑋(𝑧) =
𝑠𝑖𝑛𝜔 1 − 2𝑟𝑧 −1 cos 𝜔 + 𝑟 2 𝑧 −2
2𝑧 2
𝑥(𝑛) = 𝑛 𝑛 + 1 𝑢(𝑛) 𝑋(𝑧) =
(𝑧 − 1)3
Tutorial – DTFT
𝑥 𝑛 = 1, −1,1, −1 𝑿 𝒆𝒋𝝎 = (𝟏 − 𝒆−𝒋𝟐𝝎 )(𝟏 − 𝒆−𝒋𝝎 )
𝑥 𝑛 = 1, 0<𝑛<𝑁 1 − 𝒆−𝒋𝝎(𝑵+𝟏)
= 0 elsewhere 𝑿 𝒆𝒋𝝎 =
1 − 𝒆−𝒋𝝎
𝑥 𝑛 = 𝛿 𝑛 − 𝛿(𝑛 − 1) 𝑿 𝒆𝒋𝝎 = (𝟏 − 𝒆−𝒋𝝎 )
𝑥 𝑛 = 𝑢 𝑛 − 𝑢(𝑛 − 1) 𝑿 𝒆𝒋𝝎 = 𝟏
1 − 𝑎7 𝒆−𝒋𝟕𝝎
𝑥 𝑛 = 𝑎𝑛 [𝑢 𝑛 − 𝑢 𝑛 − 8 ], 𝑎 < 1 𝑿 𝒆𝒋𝝎 =
1 − 𝒂𝒆−𝒋𝝎
𝒋𝝎
1
𝑦(𝑛) = (1Τ2)𝑛 𝑢(−𝑛) 𝑿 𝒆 =
1 − 𝟐𝒆−𝒋𝝎
1 − 𝑎2
𝑥(𝑛) = (𝑎) 𝑛 𝑥(𝑛) = (1ൗ2) 𝑛 𝑿 𝒆𝒋𝝎 =
1 − 𝟐𝒂 cos 𝝎 + 𝒂𝟐
𝑛𝜋
Find the DTFT of the following sequences (a) 𝑥 𝑛 = sin 𝑢(𝑛)
2
∞
𝑛𝜋
𝐷𝑇𝐹𝑇 𝑥 𝑛 =𝑋 𝜔 = 𝑥 𝑛 𝑒 −𝑗𝜔𝑛 (b) 𝑥 𝑛 = cos 𝑢(𝑛)
3
𝑛=−∞
𝒏𝝅
(a) 𝒙 𝒏 = 𝒔𝒊𝒏 𝒖(𝒏)
𝟐
∞
𝑛𝜋 1 1 1
𝑋 𝜔 = sin 𝑢(𝑛) 𝑒 −𝑗𝜔𝑛 = −
2 2𝑗 1 − 𝑒 𝑗 𝜋ൗ2 −𝜔 𝜋ൗ +𝜔
𝑛=−∞ 1 − 𝑒 −𝑗 2
∞
𝑛𝜋 −𝑗𝜔𝑛
= sin 𝑒 𝜋 𝜋
2 1 1 − 𝑒 −𝑗 ൗ2 𝑒 −𝑗𝜔 − 1 + 𝑒 𝑗 ൗ2 𝑒 −𝑗𝜔
𝑛=0 =
∞ ∞
2𝑗 1 + 𝑒 −𝑗2𝜔 − 𝑒 −𝑗𝜔 𝑒 𝑗 𝜋ൗ2 + 𝑒 −𝑗 𝜋ൗ2
1 𝜋ൗ −𝜔 𝑛 𝜋ൗ +𝜔 𝑛
= 𝑒𝑗 2 − 𝑒 −𝑗 2
2𝑗
𝑛=0 𝑛=0
𝑒 −𝑗𝜔 sin 𝜋ൗ2
=
∞ 𝑛𝜋ൗ 𝑛𝜋ൗ 1 + 𝑒 −𝑗2𝜔 − 𝑒 −𝑗𝜔 cos 𝜋ൗ2
𝑒𝑗 2 − 𝑒 −𝑗 2
= 𝑒 −𝑗𝜔𝑛
2𝑗
𝑛=0 𝑒 −𝑗𝜔
=
1 + 𝑒 −𝑗2𝜔
1 𝑛 𝑛𝜋
Find the DTFT of the following sequences (a) 𝑥 𝑛 = sin 𝑢(𝑛)
2 4
1 𝑛−2
(b) 𝑥 𝑛 = 𝑢(𝑛 − 2) c) cos 𝜔0 𝑛 𝑢(𝑛) d) sin 𝜔0 𝑛 𝑢(𝑛)
2
1 𝑛 𝑛𝜋
(a) 𝑥 𝑛 = sin 𝑢(𝑛)
2 4
∞ 𝑛
1 𝑛𝜋
𝑋 𝜔 = sin 𝑢(𝑛) 𝑒 −𝑗𝜔𝑛 1 1 1
2 4 = −
𝑛=−∞ 𝜋ൗ −𝜔 𝜋ൗ +𝜔
2𝑗 1 − 1ൗ 𝑒 𝑗 4 1 − 1ൗ2 𝑒 −𝑗 4
∞ 𝑛 2
1 𝑛𝜋 −𝑗𝜔𝑛
= sin 𝑒
2 4 1ൗ 𝑒 −𝑗𝜔 sin 𝜋ൗ
𝑛=0
= 2 4
∞ 𝑛𝜋ൗ 𝑛𝜋ൗ
1 + 1ൗ4 𝑒 −𝑗2𝜔 − 𝑒 −𝑗𝜔 cos 𝜋ൗ4
𝑛
1 𝑒𝑗 4 − 𝑒 −𝑗 4
= 𝑒 −𝑗𝜔𝑛 1ൗ 𝑒 −𝑗𝜔
2 2𝑗 2 2
𝑛=0 =
1 − 1ൗ 𝑒 −𝑗𝜔 + 1ൗ4 𝑒 −𝑗2𝜔
∞ 𝑛 ∞ 𝑛 2
1 1 𝜋 1 𝜋ൗ +𝜔 𝑛
= 𝑒 𝑗 ൗ4 −𝜔 𝑛 − 𝑒 −𝑗 4
2𝑗 2 2
𝑛=0 𝑛=0
∞ 𝑛 ∞ 𝑛
1 1 𝑗 𝜋ൗ −𝜔 1 −𝑗 𝜋ൗ +𝜔
= 𝑒 4 − 𝑒 4
2𝑗 2 2
𝑛=0 𝑛=0
𝑛−2
1
𝑥 𝑛 = 𝑢(𝑛 − 2)
2
𝐷𝑇𝐹𝑇 𝑥 𝑛 = 𝑋 𝜔 = 𝑥 𝑛 𝑒 −𝑗𝜔𝑛
𝑛=−∞
∞ 𝑛−2
1
𝑋 𝜔 = 𝑢(𝑛 − 2) 𝑒 −𝑗𝜔𝑛
2
𝑛=−∞
∞ 𝑛−2
1
= 𝑒 −𝑗𝜔𝑛
2
𝑛=2
2
−𝑗2𝜔
1 −𝑗3𝜔 1
=𝑒 + 𝑒 + 𝑒 −𝑗4𝜔 + ⋯
2 2
2
1 −𝑗𝜔 1
= 𝑒 −𝑗2𝜔 1+ 𝑒 + 𝑒 −𝑗2𝜔 + ⋯
2 2
𝑒 −𝑗2𝜔
=
1 − 1ൗ2 𝑒 −𝑗𝜔
𝑥 𝑛 = cos 𝜔0 𝑛 𝑢(𝑛)
∞
𝑒 𝑗𝜔0 𝑛 + 𝑒 −𝑗𝜔0 𝑛 −𝑗𝜔𝑛
𝑋 𝜔 = 𝑒
2
𝑛=−∞
∞ ∞
1 𝜔0 −𝜔 𝑛 𝜔0 +𝜔 𝑛
= 𝑒𝑗 + 𝑒 −𝑗
2
𝑛=0 𝑛=0
1 1 1
= +
2 1 − 𝑒 𝑗 𝜔0−𝜔 1 − 𝑒 −𝑗 𝜔0+𝜔
1 1 − 𝑒 −𝑗 𝜔0+𝜔 + 1 − 𝑒 𝑗 𝜔0−𝜔
=
2 1 + 𝑒 −𝑗2𝜔 − 𝑒 −𝑗𝜔 𝑒 𝑗𝜔0 + 𝑒 −𝑗𝜔0
1 − 𝑒 −𝑗𝜔 cos 𝜔0
=
1 − 2𝑒 −𝑗𝜔 cos 𝜔0 + 𝑒 −𝑗2𝜔