Problem with hanning window

32 views (last 30 days)
Murali Krishnan
Murali Krishnan on 29 Nov 2023
Answered: Divyanshu on 12 Dec 2023
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
Divyanshu on 12 Dec 2023
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:

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!