PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB

(sharon) #1
Approximations of the sawtooth wave by sum of harmonics
0.6

0.4

0.2

−0.2

−0.4

−0.6

−0.8

0

Amplitude

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

Harmonic frequencies of f(t)

first
second
third
fourth
fifth

0.8

0.6

0.2

−0.2

−0.4

−0.6

−0.8

0

0.4

Amplitude

− 2 −1.5 − 1 −0.5 0 0.5 1 1.5 2
time (in sec)
COLOR FIGURE 4.41
Plots of part b of Example 4.4.

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

Free download pdf