represents a Hamming window function of x.
- HammingWindow is a window function typically used for pulse shaping in telecommunication applications as well as for finite impulse response (FIR) filter design and spectral analysis.
- Window functions are used in applications where data is processed in short segments and have a smoothing effect by gradually tapering data values to zero at the ends of each segment.
- HammingWindow[x] is equal to .
- HammingWindow automatically threads over lists.
Examplesopen allclose all
Basic Examples (3)
Create a moving average filter of length 21:
Taper the filter using a Hamming window:
Log-magnitude plot of the power spectra of the filters:
Use a window specification to calculate sample PowerSpectralDensity:
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:
Properties & Relations (4)
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:
Discrete-time Fourier transform of the discrete Hamming window of length 11:
Wolfram Research (2012), HammingWindow, Wolfram Language function, https://reference.wolfram.com/language/ref/HammingWindow.html.
Wolfram Language. 2012. "HammingWindow." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/HammingWindow.html.
Wolfram Language. (2012). HammingWindow. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/HammingWindow.html