Discrete Fourier Transform (DFT) : DFT Transforms The Time Domain Signal Samples To The Frequency Domain Components
Discrete Fourier Transform (DFT) : DFT Transforms The Time Domain Signal Samples To The Frequency Domain Components
Amplitude
Signal
DFT Spectrum
Time Frequency
DFT
Sampling rate
8000 samples = 1 second
32 samples = 32/8000 sec
= 4 millisecond
Frequency
1 second = 1000 cycles
32/8000 sec =
(1000*32/8000=) 4 cycles
CEN352, Dr. Ghulam Muhammad,
3
King Saud University
DFT Coefficients of Periodic Signals
Periodic
Digital
Signal
Copy
Amplitude
spectrum of the
periodic digital
signal
b.
Imagine periodicity of
N samples.
Where,
Inverse DFT:
Solution:
Using MATLAB,
Using MATLAB,
Example 4
In the previous example, if the sampling rate is 10 Hz,
f
b.
Frequency resolution:
k
Amplitude Spectrum:
Power Spectrum:
Phase Spectrum:
Solution:
See Example 2.
Solution:
Therefore, we
need to pad zero
at the end of the
signal.
However, it does
not add any new
information.
Solution:
fs
………..
CEN352, Dr. Ghulam Muhammad,
29
King Saud University
Effect of Window Size
1 Hz sinusoid,
with 32
samples
Discontinuous
Produces
single
frequency
Produces many
harmonics as well.
Spectral
Leakage
Calculate,
Triangular Window:
Hamming Window:
Hanning Window:
Solution:
Since N = 4, Hamming window function can be found as:
DFT Sequence:
Then
DFT equation:
Samples N = 2, 4, 8, 16 or so.
If the input length is not 2m, append (pad) zeros to make it 2m.
4 5 1 7 1 4 5 1 7 1 0 0 0
N=5 N = 8, power of 2
12 complex
multiplication
FFT
IFFT
Using
As,
First iteration:
Second iteration:
Third iteration:
2
2 2
2 2
WN e N
cos j sin W e
2 8
e 2
cos( / 2) j sin( / 2) j
N N 8
IFFT
FFT
IFFT
Homogeneity:
DFT
x[] X[]
DFT
kx[] kX[]
Frequency is not
changed.
Additivity
Delta Function
Same Magnitude,
Different Phase