PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB

(sharon) #1

DTFT, DFT, ZT, and FFT 533


Time

0 500 1000 1500 2000
frequency in Hz

Frequency

2500 3000 3500 4000

(^05001000150020002500300035004000)
5
0
200
400
600
− 10
0
0 0.005 0.01 0.015 0.02 0.025 0.03 0.035
10
0
Phase of
DFT[f(n-32)]
Magnitude DFT[f(n-32)]
Amplitude in time
− 5
f(n-32) analyzed in the time and frequency domains
FIGURE 5.45
Plots of f(n − 32) in time and frequency of Example 5.10.
Error analysis in the time and frequency domains
0
1000
500
0
0 500 1000 1500 2000 2500 3000 3500 4000 4500
0
0
2
4
6
500 1000 1500 2000 2500
frequency in Hz
3000 3500 4000 4500
− 10
− 5
0
5
0.005 0.01 0.015 0.02 0.025 0.03 0.035
Phase
Magnitude
Magnitude in time
Time
Frequency
FIGURE 5.46
Error plots in time and frequency of Example 5.10.

Free download pdf