Digital Signal Processing Week 4.1
Digital Signal Processing Week 4.1
EIE 527
MODULE 4
(ANALYTICAL TOOLS)
DISCRETE FOURIER ANALYSIS
Lecturer(s): Dr. A.A Adewale, Engr. Akua Collins
Learning Outcomes
inverse DFT
Discrete Fourier Transform (DFT)
DFT is used for analyzing discrete-time finite duration signals in the frequency
domain.
Let 𝑥 𝑛 = 𝑏𝑒 𝑎 𝑓𝑖𝑛𝑖𝑡𝑒 𝑑𝑢𝑟𝑎𝑡𝑖𝑜𝑛 𝑠𝑒𝑞𝑢𝑒𝑛𝑐𝑒 𝑜𝑓 𝑙𝑒𝑛𝑔𝑡ℎ 𝑁 𝑠𝑢𝑐ℎ 𝑡ℎ𝑎𝑡 𝑥 𝑛 = 0
Outside 0 ≤ 𝑛 ≤ 𝑁 − 1
The DFT pair of 𝑥 𝑛 is
𝑁−1
Alternative Formula:
Properties of Discrete Fourier Transform (DFT)
Problem 1:
Find the DFT of a sequence x(n)= {1,1,0,0} and find the
IDFT of Y(K)= {1,0,1,0}
𝑗2𝜋𝑘𝑛
−
X 𝐾 = σ𝑁−1
𝑛=0 𝑥(𝑛)𝑒 𝑁 K = 0, 1, . . . , N − 1. NOTE N = L = 4
X 0 = σ3𝑛=0 𝑥(𝑛) = 𝑥 0 + 𝑥 1 + 𝑥 2 + 𝑥 3 = 1 + 1 + 0 + 0 = 2
Discrete Fourier Transform (DFT)
𝑗𝜋𝑛 𝑗𝜋 𝑗3𝜋
X 1 = σ3𝑛=0 𝑥(𝑛)𝑒 − 2 =𝑥 0 +𝑥 1 𝑒 −2
+ x 2 𝑒 −𝑗𝜋 + x 3 𝑒− 2
𝜋 𝜋
= 1 + cos − 𝑗𝑠𝑖𝑛 = 1 − 𝑗
2 2
X 𝐾 = 2, 1 − 𝑗, 0, 1 + 𝑗
Inverse Discrete Fourier Transform (IDFT)
𝑗2𝜋𝑘𝑛
1 𝑁−1
y 𝑛 = σ𝑘=0 𝑌 𝑘 𝑒 𝑁 𝑛 = 0, 1, … 𝑁 − 1
𝑁
1 3
y 0 = σ𝑘=0 𝑌 𝑘 𝑛 = 0, 1, 2, 3
4
1 1
y 0 = 𝑦 0 +𝑦 1 +𝑦 2 +𝑦 3 = 1 + 0 + 1 + 0 = 0.5
4 4
𝑗𝜋 𝑗3𝜋
1
y 1 = 𝑌 0 + 𝑌 1 𝑒 + 𝑌 2 𝑒 𝑗𝜋 + 𝑌(3)𝑒
2 2
4
1
1 + 0 + 𝑐𝑜𝑠𝜋 + 𝑗𝑠𝑖𝑛𝜋 + 0
4
1
1+0−1+0 =0
4
Inverse Discrete Fourier Transform (IDFT)
1
y 2 = 𝑌 0 + 𝑌 1 𝑒 𝑗𝜋 + 𝑌 2 𝑒 𝑗2𝜋 + 𝑌(3)𝑒 𝑗3𝜋
4
1
1 + 0 + 𝑐𝑜𝑠2𝜋 + 𝑗𝑠𝑖𝑛2𝜋 + 0
4
1
1 + 0 + 1 + 0 = 0.5
4
𝑗3𝜋 𝑗9𝜋
1
y 3 = 𝑌 0 + 𝑌 1 𝑒 + 𝑌 2 𝑒 𝑗3𝜋 + 𝑌(3)𝑒
2 2
4
1
1 + 0 + 𝑐𝑜𝑠3𝜋 + 𝑗𝑠𝑖𝑛3𝜋 + 0
4
1
1 + 0 + −1 + 0 = 0
4
y 𝑛 = 0.5, 0, 0.5, 0
Using Twiddle factors to solve DFT Problems
Problem 2:
Find the 4-point DFT of this sequence x(n)= {1,1,0,0} using the Twiddle factors
4 − 𝑝𝑜𝑖𝑛𝑡 𝑇𝑤𝑖𝑑𝑑𝑙𝑒 𝑓𝑎𝑐𝑡𝑜𝑟𝑠 𝑎𝑟𝑒: 𝑊40 = 1, 𝑊41 = −J, 𝑊42 = −1, 𝑊43 = +J
𝑁−1
𝑤ℎ𝑒𝑛 𝑘 = 0, 𝑋 0 =1+1=2
𝑤ℎ𝑒𝑛 𝑘 = 1, 𝑋 1 =1−𝑗
𝑤ℎ𝑒𝑛 𝑘 = 2, 𝑋 2 =1−1=0
𝑤ℎ𝑒𝑛 𝑘 = 3, 𝑋 3 =1+𝑗
X 𝐾 = 2, 1 − 𝑗, 0, 1 + 𝑗
TUTORIAL QUESTIONS
Derive the twiddle factors of a 4-point DFT
Compute the 8-point DFT of the discrete time signal x n = ሼ1, −1,