PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB

(sharon) #1

Fourier and Laplace 399


26 term approximation
1

0.5

0.5

− 3

− 3

− 2

− 2

− 1

− 1

0

0

1

1

0

0

Amplitude

Amplitude

Amplitude

2

2

3

3

− 3 −^2 −^10123

11 term approximation

4 term approximation

time (in sec)

1

0.5

0

1

FIGURE 4.47
Approximation plots of f(t) of Example 4.7.


Four term approximation over one cycle

Four term hamm. window approximation over one cycle

1
0.8

0.4

0.6

0.2
0
1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2

Amplitude

Amplitude

1
0.8
0.6

0.4
0.2
0
1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2
time (in sec)

FIGURE 4.48
Approximation plots of f(t) using four terms of Example 4.7.

Free download pdf