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

Hamming window.

Syntax

Description

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

w = hamming(n,sflag) returns an n-point Hamming window using the window sampling specified by sflag, which can be either 'periodic' or 'symmetric' (the default). When 'periodic' is specified, hamming 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.
hanning
Hanning 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 ]