Professional Documents
Culture Documents
Reference: Section 10.2 of John G. Proakis and Dimitris G. Manolakis, Digital Signal Processing: Principles, Algorithms, and Applications, 4th edition, 2007.
Fall 2011
Fall 2011
1 / 18
Fall 2011
2 / 18
Rectangular Window
In many DSP applications, very long (or even innite) signal samples must be processed. In order to practically manage the data, localized processing is applied to a subset of samples. This subset is often generated through the process of windowing.
A straightforward or naive approach is to window by simply ignoring all points before a certain time instant and after a certain time instant. This amounts to what we call a rectangular window. Q: What is the problem with a rectangular window?
A: Spectral leakage.
Fall 2011
3 / 18
Fall 2011
4 / 18
Windowing
In most applications, windowing is applied by multiplying a long data sequence x(n) by a nite duration window function w (n); thus we have: xw (n) = x(n)w (n) Although this has the intended eect in the time domain of obtaining a subset of the input sequence, the reduction in information has the following spectral implication: Xw (f ) = X (f )W (f )
Xw (f ) = X (f )W (f )
Convolution with W (f ) broadens the support of the resulting signal. Convolution with W (f ) has the eect of smoothing certain regions of the spectrum and causing rippling in others. Applying a window has the eect of terminating it somewhat sharply that redistributes the signal to higher frequencies, which is known as spectral leakage. Dierent window shapes w (n) demonstrate dierent compromises.
Fall 2011
5 / 18
Fall 2011
6 / 18
Magnitude
Magnitude M-1
Fall 2011
w (n) =
0n M 1 otherwise 0n M 1 otherwise
4n M1
0.75
2n M1
0.5
0.25
+ 0.08 cos
0n M 1 otherwise
Fall 2011
7 / 18
8 / 18
1 0
0n M 1 otherwise
I0
w (n) = 0
0n M 1 otherwise
Tukey: w (n) = 1
1 2
where I0 is the zeroth order modied Bessel function of the rst kind.
M1 2 M1 2
M1 2 n
M1 2
1 + cos
n(1+)(M1)/2 (1)(M1)/2
M1 2
otherwise
0n M 1 otherwise
Fall 2011
9 / 18
Fall 2011
10 / 18
Kaiser
Magnitude
Lanczos Sample
Windows and Windowing
Bartlett M-1
Fall 2011 11 / 18 Dr. Deepa Kundur (Texas A&M) Windows and Windowing Fall 2011 12 / 18
M-1
1
-8000 -3000 -1000 -20 20 1000 3000
8000
Note: the larger the main lobe, the greater the smoothing the larger the peak sidelobe, the higher the degree of ringing
Fall 2011
13 / 18
Fall 2011
14 / 18
STOPBAND
center frequency
width
peak amplitude
STOPBAND
0
peak amplitude
STOPBAND
width
STOPBAND
PASSBAND
Fall 2011
15 / 18
Fall 2011
16 / 18
STOPBAND 0
width
STOPBAND
STOPBAND 0
width
peak amplitude
STOPBAND
Fall 2011
17 / 18
Fall 2011
18 / 18