PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB

(sharon) #1
Plots of square wave approximations using harmonics
0.8

0.6

0.2

0

−0.2

−0.4

−0.6

−0.8

0.4

Amplitude

0 0.5^1 1.5^2 2.5 3 3.5^4
time (in sec)
COLOR FIGURE 4.31
Plots of part d of Example 4.1.

Harmonic components of a sawtooth wave
0.4

0.3

0.2

0.1

−0.1

−0.2

−0.3

−0.4

0
Amplitude

0 0.5 1 1.5^2 2.5^3 3.5^4
time (in sec)
COLOR FIGURE 4.34
Plots of part b of Example 4.2.

CRC_47760_COLPLA.indd 5CRC_47760_COLPLA.indd 5 7/18/2008 5:34:24 PM7/18/2008 5:34:24 PM

Free download pdf