PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB

(sharon) #1

520 Practical MATLAB® Applications for Engineers


[Errors] versus time index n
4
× 10 −^15

2

0
Amplitude

− 2

− 4
01234
time index n

5678

FIGURE 5.33
Error plot of part a with respect to part b of Example 5.6.


FIGURE 5.32
Plots of part b of g(n) and DFT[g(n)] evaluated by circular convolution of Example 5.6.


012345678

012345678

012345678
frequency W

frequency W

Phase of DFT[g(n)] versus W

Magnitude of DFT[g(n)] versus W

Circular convolution g(n)=ifft[DTF(f(n)*DTF(h(n)] versus n

time index n

40

100

50

0

20

Amplitude

Magnitude

Angle in rad.

− 20

0

5

0

− 5
Free download pdf