Navigation

Operators and Keywords

Function List:

C++ API

: hamming (m)
: hamming (m, "periodic")
: hamming (m, "symmetric")

Return the filter coefficients of a Hamming 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 Hamming window see, e.g., A.V. Oppenheim & R. W. Schafer, Discrete-Time Signal Processing.

Package: octave