Function File: hann (m)
Function File: hann (m, "periodic")
Function File: hann (m, "symmetric")

Return the filter coefficients of a Hanning window of length m.

If the optional argument "periodic" is given, the periodic form of the window is returned. This is equivalent to the window of length m+1 with the last coefficient removed. The optional argument "symmetric" is equivalent to not specifying a second argument.

This function exists for MATLAB compatibility only, and is equivalent to hanning (m).

See also: hanning.

Package: signal