Professional Documents
Culture Documents
Discrete-Time Filter Design by Windowing: Quote of The Day
Discrete-Time Filter Design by Windowing: Quote of The Day
Discrete-Time Filter Design by Windowing: Quote of The Day
Content and Figures are from Discrete-Time Signal Processing, 2e by Oppenheim, Shafer, and Buck, 1999-2000 Prentice Hall Inc.
1
j
j n
j
j n
Hd e hd ne
hd n
H
e
e
d
d
where
1 0nM
else
0
wn
H e j
1
j
j
H
e
W
e
d
d
Properties of Windows
Prefer windows that concentrate around DC in frequency
Less smearing, closer approximation
e
sin / 2
1 e j
n0
Demo
Rectangular Window
Narrowest main lob
4/(M+1)
Sharpest transitions at
discontinuities in
frequency
Simplest window
possible
1 0nM
else
0
wn
Side lobs
-25 dB
Hamming window
performs better
Simple equation
wn
2n / M
0 n M/2
2 2n / M M / 2 n M
0
else
Hanning Window
Medium main lob
8/M
Side lobs
-31 dB
Hamming window
performs better
Same complexity as
Hamming
1
2n
1 cos
wn 2
M
0nM
else
Hamming Window
Medium main lob
8/M
2n
0.54 0.46 cos
wn
M
0nM
else
Blackman Window
Large main lob
12/M
Complex equation
2n
4n
0.42 0.5 cos
0.08 cos
wn
M
M
0nM
else
Windows Demo
wM n 0 n M
0
else
wn
W e j We e j e jM / 2
Hd e j He e j e jM / 2
With symmetric window
1
j
j
j
Ae e
H
e
W
e
d
e
10
Corresponding impulse
response
sin c n M / 2
hlp n
n M / 2
Desired response is even
symmetric, use symmetric
window
hn
sin c n M / 2
wn
n M / 2
11
wn
2
n
M
/
2
I0 1
M/2
I0
0
0nM
else
12
0.1102 A 8.7
A 50
0.4
0.5842 A 21 0.07886 A 21 21 A 50
0
A 21
A8
2.285
13
A 20 log10 60
hn
18
.
5
I0 5.653 1
18.5
sin0.5n 18.5
n 18.5
I0 5.653
0
0nM
else
14
Example Contd
Approximation Error
15
Nmb
Gk
k 1
Gk 1
sin k n M / 2
n M / 2
16