Problem with hanning window
Show older comments
I was trying to use hanning window on an fft i did. The first figure is after hanning and second one before it. What might be the reason for the variation? I am just starting to learn matlab.


Answers (1)
Divyanshu
on 12 Dec 2023
0 votes
Hi Murali,
I understand that you are trying to use hanning window on an FFT and want to know the cause of variation before and after hanning. Please go through the following points to understand the effects of hanning:
- Hanning smoothly reduces the ampiltude of the signal to zero at the edges.
- It reduces leakage of signal energy into adjacent frequency bins in Fourier Transform.
- Moreover, due to hanning side lobs i.e. additional peaks, are minimized giving more accurate representation of signal's frequency.
You can refer the following documentation about MATLAB function 'hann' which has more details about the underlying equation:
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!