Digital Sound & Music: Concepts, Applications, & Science, Chapter 2, last updated 6/25/2013
51
Figure 2.55 Audio data after application of Hamming windowing function
Notice that the ends of the segment are tapered toward 0.
Figure 2.56 compares the FFT results with no windowing function vs. with the Hamming
windowing function applied. The windowing function eliminates some of the high frequency
components that are caused by spectral leakage.
figure
plot(abs(fft(yshort)));
axis([0 300 0 60]);
hold on;
plot(abs(fft(ywindowed)),'r');
Figure 2.56 Comparing FFT results with and without windowing function
MATLAB
Exercise:
Windowing
Functions for
the FFT
Previous Page Next Page