Professional Documents
Culture Documents
1
Introduction
• As the name implies, the Discrete Fourier Transform is purely
discrete: discrete time data sets are converted into a discrete
frequency representation
n 0
Here k=0,1,2,….N-1
Since this summation is taken for ‘N’ points, it is called ‘N’ point
DFT.
2
We can obtain discrete sequence x(n) from its DFT. It is called
as
Inverse Discrete Fourier Transform (IDFT).It is given by,
1 N 1 j 2kn
x ( n ) X ( k )e N
N k 0
Here n=0,1,2,…N-1
•This is called as N-point IDFT.
Here n=0,1,2,…N-1
n 0
X (k ) 1.e j 2kn0 / N
(n n0 ) e j 2kn0 / N
Similarly, DFT of
(n n0 ) e j 2kn / N
0
5
3.Find the 4 point DFT of following window function
w(n)=u(n)-u(n-N).
Solution:
According to the definition of DFT,
N 1 j 2kn
X ( k ) x ( n)e N
……..(1)
n 0
•The range of ‘k’ is from ‘0’ to ‘N-1’.So in this case ‘k’ will vary
from 0 to 3.
3 3
For k=0, X (0) 1.e 1 1 1 1 1 4
0
n 0 n 0
6
3 j 2n
For k=1, X (1) e 4
n 0
X (1) e 0 e j 2 4 e j 4 4 e j 6 4
2 2 4 4 6 6
X (1) 1 cos j sin
cos j sin
cos j sin
4 4 4 4 4 4
X (1) 1 j 1 j 0
3 j 2 2 n 3
For k=2, X (2) e 4
e jn
n 0 n 0
X (2) e 0 e j e j 2 e j 3
n 0 n 0
j 6 j 9
j 3
X (3) e e
0 4
e e 2
6 6 9 9
X (3) 1 cos j sin cos 3 j sin 3 cos j sin
4 4 2 2
X (3) 1 0 j 1 0 0 j 0
X (k ) 4,0,0,0
8
Cyclic Property of Twiddle factor
(DFT as linear transformation matrix)
9
Now the DFT of x(n) is denoted by X(k).In the matrix form
X(k) can be represented as follows:
X ( 0)
X (1)
X ( 2)
XN
.
.
X ( N 1) N 1
•This is also a “N×1” matrix and ‘k’ varies from ‘0’ to ‘N-1’
•From the definition of DFT,
N 1
X (k ) x(n)WNkn
n 0
10
kn
•We can also representW N in the matrix form. Remember that
‘k’ varies from 0 to N-1 and ‘n’ also varies from 0 to N-1.
11
Thus, DFT can be represented in the matrix form as
X N
WN xN
12
Problem-1:Calculate the four point DFT of four point sequence
x(n)=(0,1,2,3).
X W x
4 4 4
1 1 1 1 0
1 j 1 j 1
X 4
1 1 1 1 2
1 j 1 j 3
0 1 2 3 6
0 j 2 3 j 2 j 2
X 4
0 1 2 3 2
0 j 2 3 j 2 j 2
X 4
{6, 2j-2, -2, -2j-2}
13
Properties of DFT
DFT
1-Linearity: If x1(n) X1(k) and x2(n) DFT X2(k) then,
N N
DFT
a1x1(n) + a2x2(n) a1X1(k) + a2X2(k)
N
Here a1and a2 are constants.
2-Periodicity:
If x(n) DFT X(k) then
N
x(n+N) = x(n) for all n
X(k+N) = X(k) for all k
14
15