represents a Hamming window function of x.



open allclose all

Basic Examples  (3)

Shape of a 1D Hamming window:

Shape of a 2D Hamming window:

Extract the continuous function representing the Hamming window:

Scope  (4)

Translated and dilated Hamming window:

2D Hamming window with a circular support:

Evaluate numerically:

Discrete Hamming window of length 15:

Discrete 15×10 2D Hamming window:

Applications  (3)

Create a moving average filter of length 11:

Smooth the filter using a Hamming window:

Log-magnitude plot of the frequency spectrum of the filters:

Use a window specification to calculate sample PowerSpectralDensity:

Calculate the spectrum:

Compare to spectral density calculated without a windowing function:

The plot shows that window smooths the spectral density:

Compare to the theoretical spectral density of the process:

Use a window specification for time series estimation:

Specify window for spectral estimator:

Properties & Relations  (2)

The area under the Hamming window:

Normalize to create a window with unit area:

Fourier transform of the Hamming window:

Power spectrum of the Hamming window:

Introduced in 2012