528 Practical MATLAB® Applications for Engineers
[Magnitude of the DFTs of f1(n), f2(n) & f3(n)] versus W0 5 10 150 5 10 150 5 10 15020abs [DFT[f3(n)]]abs [DFT[f2(n)]]abs [DFT[f1(n)]]406000.511.501020frequency W in rad.FIGURE 5.40
Plots of absDFT of f 1 (n), f 2 (n), and f 3 (n) of Example 5.9.
[f(n) = f1(n) + f2(n) + f3(n)]0020204060− 10010− 2
510150 5 10 150 5 10 15frequency W in rad.angle [DFT[f(n)]]abs [DFT[f(n)]]Amplitude time index nWFIGURE 5.39
Plots of [f(n) = f1(n) + f2(n) + f3(n)] and abs{DFT[f(n)]} of Example 5.9.