PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB

(sharon) #1

Time Domain Representation of Continuous and Discrete Signals 85


f(n) versus n f(n) is decimated with M=2

f(n) is decimated with M=4

4

2

0

− 2

− 4

4

2

0

− 2

− 4

Amplitude

Amplitude

Amplitude

time index n
0 50 100

4

2

0

(^010)
− 2
− 4
time index n
20 30
time index n
0 20 40 60
f(n) is decimated with M=10
4
2
0
− 2
− 4
Amplitude
0 510
time index n
FIGURE 1.70
Decimation plots of f(t) of Example 1.17.
f(n) versus n
f(n) is upsampled with L=4
4
0
− 2
− 4
2
Amplitude
Amplitude
time index n
0 50 100
f(n) is upsampled with L=2
4
2
0
− 2
− 4
Amplitude
0 50 100 150 200
time index n
f(n) is upsampled with L=10
4
2
0
− 2
− 4
Amplitude
0 500
time index n
1000
4
2
− 2
− 4
0
(^0100200300400)
time index n
FIGURE 1.71
Interpolation plots of f(t) of Example 1.17.

Free download pdf