- #1
truva
- 18
- 1
Hi all
As far as I know Hanning window is defined as the following:
.5+.5*cos(2*pi*n/N) and n is between [-(N-1)/2,(N-1)/2] here N is odd number.
MATLAB functions "hanning" with symetric or periodic options or "hann" do not match with the results of the above formula. There is always a slight annoying difference !
Do you know the problem?
(Same thing for Hamming window)
As far as I know Hanning window is defined as the following:
.5+.5*cos(2*pi*n/N) and n is between [-(N-1)/2,(N-1)/2] here N is odd number.
MATLAB functions "hanning" with symetric or periodic options or "hann" do not match with the results of the above formula. There is always a slight annoying difference !
Do you know the problem?
(Same thing for Hamming window)