PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB

(sharon) #1

544 Practical MATLAB® Applications for Engineers


0 5 10 15 20 25 30 35 40 45 50

− 1

0

1

2

[System impulse response h(n)] versus n, using impz

Amplitude

time index n

0 5 10 15 20 25 30 35 40 45 50

−0.5

0

0.5

1

[System output g(n)] versus n, using convolution

Amplitude

time index n

FIGURE 5.57
Plots of system impulse h(n) and system output gc(n) of Example 5.13.


0 5 10 15 20 25 30 35 40 45 50

0

0.2

0.4

0.6

[System input sequence f(n)] versus n

time index n

Magnitude

0 5 10 15 20 25 30 35 40 45 50

−0.5

−0.2

0

0.5

1

1.5

[System output sequence g(n)] versus n, using filter

time index n

Magnitude

FIGURE 5.56
Plots of the system input f(n) and system output gf (n) of Example 5.13.

Free download pdf