L-point symmetric Hamming window in the column
L should be a positive
integer. The coefficients of a Hamming window are computed from the
The window length is .
L-point Hamming window using the window sampling
'sflag', which can be either
'periodic' flag is useful for DFT/FFT
purposes, such as in spectral analysis. The DFT/FFT contains an implicit
periodic extension and the periodic flag enables a signal windowed
with a periodic window to have perfect periodic extension. When
hamming computes a length
and returns the first
L points. When using windows
for filter design, the
'symmetric' flag should
If you specify a one-point window (
Create a 64-point Hamming window. Display the result using
L = 64; wvtool(hamming(L))
 Oppenheim, Alan V., Ronald W. Schafer, and John R. Buck. Discrete-Time Signal Processing. Upper Saddle River, NJ: Prentice Hall, 1999, p. 468.
Usage notes and limitations:
All inputs must be constant. Expressions or variables are allowed if their values do not change.