Signal Processing Toolbox
  Go to function:
    Search    Help Desk 
hanning    See Also

Hanning window.

Syntax

Description

w = hanning(n) returns an n-point symmetrically sampled Hanning window in the column vector w. n should be a nonnegative integer. The coefficients of a Hanning window are

w = hanning(n,sflag) returns an n-point Hanning window using the window sampling specified by sflag, which can be either 'periodic' or 'symmetric' (the default). When 'periodic' is specified, hanning computes a length n+1 window and returns the first n points.

Diagnostics

An error message is displayed when incorrect arguments are used:

A warning message is displayed for noninteger n:

See Also

bartlett
Bartlett window.
blackman
Blackman window.
boxcar
Rectangular window.
chebwin
Chebyshev window.
hamming
Hamming window.
kaiser
Kaiser window.
triang
Triangular window.

References

[1] Oppenheim, A.V., and R.W. Schafer, Discrete-Time Signal Processing. Englewood Cliffs, NJ: Prentice-Hall, 1989.



[ Previous | Help Desk | Next ]