W12 - Fourier Transform (Part 3)
W12 - Fourier Transform (Part 3)
(Part 3)
1
The Fourier Series
The Fourier series is a mathematical tool used for
analyzing periodic functions.
T /2
1
jnt
F ( n) f (t ) e dt
T T / 2
The Fourier Transform
The Fourier Transform is named in honour of French
mathematician, Joseph Fourier, is a certain linear
operator that maps functions to other functions.
x(t) X ( fs )
Laplace time
Z - Transform time
Fourier frequency
Fourier Transform
The function X ( ) is called the Fourier Transform of
x(t):
X ( ) F{x(t )} x(t )e j t
dt
X ( )
The Inverse Fourier Transform of is:
1
X ( )e jt d
1
x(t ) F { X ( )}
2
The Fourier Transform
The continuous Fourier transform is defined as
follows:
f (t ) e
j t
F ( ) dt
And the inverse continuous Fourier Transform, is
defined as:
1
j t
f (t ) F ( ) e d
2
CFT→DFT
From DFT to FFT
Fourier Transform = can be divided into FOUR categories.
j 2ft
X(f ) x (t ) e dt (1)
1
X(f )e
j 2ft
x(t ) df (2)
2
Derivation of DFT
Consider if x(t) is periodic and repeating:
1 T0
j 2kf 0t
X (kf 0 ) x(t ) e dt (3)
T0 0
x(t ) k X (kf 0 ) e
j 2kf 0t (4)
Since
1 N 1
X kf 0 x[ nT ] e jk 2f 0 nT
(7)
N n 0
Derivation of DFT
1 N 1
x[n]
N
X
n 0
[ k ] e ( j 2nk ) / N
(10)
Derivation of DFT
Substitution by W:
W nk
N e ( j 2nk ) / N
e
( j 2 ) / N nk
DFT becomes:
N 1
X [k ] x[n] W nk
N
(12)
n 0
Derivation of DFT
and WN is the Nth root of unity:
j ( 2 / N )
WN e
the Inverse DFT (IDFT) is:
1 N 1
x[n]
N
X [k ] W
n 0
kn
N
n 0,1.., N 1
Properties of DFT
DFT variables n and k must be restricted to the range
0 n , k N the DFT shifts x[n n0 ] or X [k k0 ] imply
x[n n0or
]mod N X [k kwhere
0 ]mod N the modulo
notation:
[m]mod N m iN
0 [m]mod N N
Properties of DFT
For example, if x[n] [n 3] then,
Time Shifting:
kn0
x[n n0 ]mod N W N X [k ]
j ( 2 / N )
(WN e )
Properties of DFT
Frequency Shifting:
Conjugation:
kn0
x[n n0 ]mod N W N X [k ]
Properties of DFT
Time Reversal:
Duality:
From X [k ]mod N X [k ]
A[ k ]mod N A[k ]
B[ k ]mod N B[k ]
| X [ k ] |mod N | X [k ] |
[k ]mod N [k ]
Properties of DFT
Parseval’s Relation:
N 1
1 N 1
n 0
2
| x[n] |
N
| X [k ] |
n 0
2
Matrix Interpretation of DFT
W = root of unity
6
W 8
5
W 8 W 7
8
W 4 W 80 W 88
8
1
W 3
8
W 8
2
W 8
( N 1) 2
X [ N 1] W0
N W( N 1)
N W 2( N 1)
N
W N
x[ N 1]
(13)
Matrix Interpretation of DFT
Each row consists of the samples of complex sine
waves of different frequencies
X [1] x[1]
X [2] x[2]
X [3] = x[3]
X [4] x[4]
X [5] x[5]
X [6] x[6]
X [7] x[7]
x[n] = ( 0 1 2 3 )
Argand Diagram
N 1
(a) Find the DFT by X [k ] x[n] e j 2kn / N
n 0
(b) Illustrate the matrix interpretation of DFT
Solution (a)
N 1
Applying X [k ] x[n] e j 2kn / N
n 0
3
X [0] x[n] 2 0 1 3 4
n 0
3
X [1] x[n] e jn / 2 x[0] x[1] e j / 2 x[2] e j x[3] e j 3 / 2
n 0
33 j
3
X [2] x[n] e jn x[0] x[1] e j x[2] e j 2 x[3] e j 3
n 0
2
3
X [3] x[n] e j 3n / 2 x[0] x[1] e j 3 / 2 x[2] e j 3 x[3] e j 9 / 2
n 0
33 j
41
42
Solution (b)
W40 W40 W40 W40 1 1 1 1 1 1 1 1
0 1 2 3
W W 1
W42 W43 1 W4 W4 W4 1 j 1 j
W4 40 4
W4 W42 W44 W46
1 W4 W4 W4 1 1 1 1
2 0 2
0 9 3 2 1
W4 W4
3
W46 W4 1 W4 W 4 W 4 1 j 1 j
4
3 3 j
X 4 W4 x4
2
3 3 j
Matrix Interpretation of DFT
X WN x
1 1 1 1
1 1 j 1 j
W41
4 1 1 1 1
1 j 1 j
Example 3
Compute the IDFT of X[k] given as follows:
X [0] 6
X [1] 2 j 2
X [2] 2
X [3] 2 j 2
Solution
The IDFT x[n] of X[k] is:
x[0] 1 1 1 1 6
x[1] 1 j 1 j 2 j 2
1
x[ 2] 4 1 1 1 1 2
x[ 3] 1 j 1 j 2 j 2
0 0
1 4 1
4 8 2
12 3
TQ
48
Quiz 2g
Figure 1 shows the 4 point sequence of signal
x[n]={1,2,3,4}
x[n]
4
3
2
1
n
0 1 2 3
-1
N 1
(a) Find the DFT by X [k ] x[n] e j 2kn / N
n 0
(b) Illustrate the matrix interpretation of DFT