Professional Documents
Culture Documents
Fourier Transforms of Discrete Signals
Fourier Transforms of Discrete Signals
• Assuming
• Discrete-Time Fourier Transform (DTFT):
Discrete Time Fourier Transform
• Discrete-Time Fourier Transform (DTFT):
• A few points
– DTFT is periodic in frequency with period of 2
See map!
Example of Convolution
• Convolution
– We can write x[n] (a periodic function) as an infinite sum of the
function xo[n] (a non-periodic function) shifted N units at a time
– Thus
See map!
Finding DTFT For periodic signals
• Starting with xo[n]
• DTFT of xo[n]
Example
Example A & B
notes
notes
DT Fourier Transforms
1. is in radian and it is between
0 and 2 in each discrete time
interval
2. This is different from where it
was between – INF and + INF
3. Note that X() is periodic
Properties of DTFT
• Remember:
• For time scaling note that
m>1 Signal spreading
Fourier Transform of Periodic Sequences
• Check the map~~~~~
See map!
Discrete Fourier Transform
• We often do not have an infinite amount of data which is
required by DTFT
– For example in a computer we cannot calculate uncountable infinite
(continuum) of frequencies as required by DTFT
• Thus, we use DTF to look at finite segment of data
– We only observe the data through a window
– In this case the xo[n] is just a sampled data between n=0, n=N-1 (N
points)
Discrete Fourier Transform
• It turns out that DFT can be defined as
• Note that in this case the points are spaced 2pi/N; thus the
resolution of the samples of the frequency spectrum is
2pi/N.
remember:
Inverse of DFT
• We can obtain the inverse of DFT
• Note that
Using MATLAB to Calculate DFT
• Example:
– Assume N=4
– x[n]=[1,2,3,4]
– n=0,…,3
– Find X[k]; k=0,…,3
or
Example of DFT
• Find X[k]
Remember:
Example of IDFT
Remember:
Fast Fourier Transform Algorithms
• Consider DTFT
N
Radix-2 FFT Algorithms - Two point FFT
• We assume N=2^m
– This is called Radix-2 FFT Algorithms
• Let’s take a simple example where only two points are given n=0, n=1; N=2
Butterfly FFT
y0
y0
Advantage: Less y1
computationally
intensive: N/2.log(N)
http://www.cmlab.csie.ntu.edu.tw/cml/dsp/training/coding/transform/fft.html
General FFT Algorithm
• First break x[n] into even and odd
N / 2 1 N / 2 1
N /2
WN 1
Example
Let’s take a simple example where only two points are given n=0, n=1; N=2
N / 2 1 N / 2 1
X [k ] WN / 2 x[2m] WN (
m 0
mk k
WN / 2 x[2m 1])
m 0
mk
2 mk mk
WN WN / 2
m N / 2 m N /2 m
WN / 2 WN / 2 WN / 2 WN / 2
WN e 2j cos( 2 ) j sin(2 ) 1
N
N /2
WN 1
0 0 Same result
X [ k 0] W x[0] W ( W
0.0 0 0.0
1 1 1 x[1]) x[0] x[1]
m 0 m 0
0 0
X [k 1] W x[0] W ( W1 x[1]) x[0] W1 x[1] x[0] x[1]
0.1 1 0.1 1
1 1
m 0 m 0
FFT Algorithms - Four point FFT
First find even and odd parts and then combine them:
Applet: http://www.falstad.com/fourier/directions.html
http://www.engineeringproductivitytools.com/stuff/T0001/PT07.HTM
A Simple Application for FFT
Later
References
• Read Schaum’s Outlines: Chapter 6
• Do Chapter 12 problems: 19, 20, 26, 5, 7