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.
0
1
2
3
4
0
1
2
3
4
0
1
2
3
4
3rd. harmonic, freq. w = 3π
0.2
0.1
−0.1
0
−0.2
0
0
1
2
3
4
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
0
1
2
3
4
0
1
2
3
4
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
2
2.5
3
3.5
4
1.5
time (in sec)
FIGURE 4.34
(See color insert following page 374.) Plots of part b of Example 4.2.
CRC_47760_CH004.indd 384
CRC_47760_CH004.indd 384
7/28/2008 12:26:08 PM
7/28/2008 12:26:08 PM
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.
0
1
2
3
4
0
1
2
3
4
0
1
2
3
4
3rd. harmonic, freq. w = 3π
0.2
0.1
−0.1
0
−0.2
0
0
1
2
3
4
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
0
1
2
3
4
0
1
2
3
4
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
2
2.5
3
3.5
4
1.5
time (in sec)
FIGURE 4.34
(See color insert following page 374.) Plots of part b of Example 4.2.
CRC_47760_CH004.indd 384
CRC_47760_CH004.indd 384
7/28/2008 12:26:08 PM
7/28/2008 12:26:08 PM
