10.4 Discrete Fourier Transform 627FIGURE 10.18
FIR filtering of disturbed
signal. Comparison of results
usingconvandfft
functions. (a) Actual and
noisy signal (plotted as a
continuous signal using black
lines); (b) denoised signal
(notice the delay caused by
the FIR filter); (c) impulse
response and magnitude
response of low-pass FIR
filter; and (d) error signal
[n]=y[n]−y 1 [n]between
output fromconv- and
fft-based filtering.
0 10 20 30 40
−0.200.20.40.60.81nh
[n
]0 20 40 60 80 100 120 140
− 1−0.500.51ny
[n
]0 20 40 60 80 100 120 140− 2024n× 10 −16ε[n]0 10 20 30 40 50 60 70 80 90 100
− 1−0.500.51nx[n],x^1[n]0 1 2 3
00.20.40.60.81ω|H(ejω
)|(a)(c)(b)(d)