PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB

(sharon) #1

384 Practical MATLAB® Applications for Engineers


fundamental freq. wo = π
0.5

−0.5

0
Amplitude Amplitude

Amplitude

Amplitude

Amplitude

Amplitude

time in sec. time in sec.

time in sec.

time in sec.

time in sec.

012 34 01234

0123 4

3rd. harmonic, freq. w = 3π
0.2

0.1

−0.1

0

−0.2

0

(^01234)
time in sec.
5th. harmonic, freq. w = 5π
2nd. harmonic, freq. w = 2π
4th. harmonic, freq. w = 4π
6th. harmonic, freq. w = 6π
0.2
−0.2
0
0.1
0.1
−0.1
−0.1
0
0
(^01234)
01234
FIGURE 4.33
Plots of part a of Example 4.2.
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)
FIGURE 4.34
(See color insert following page 374.) Plots of part b of Example 4.2.

Free download pdf