Navigation

Operators and Keywords

Function List:

C++ API

: hanning (m)
: hanning (m, "periodic")
: hanning (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.

For a definition of the Hanning window see, e.g., A.V. Oppenheim & R. W. Schafer, Discrete-Time Signal Processing.

Package: octave