represents a Hamming window function of x.


HammingWindow
represents a Hamming window function of x.
Details

- 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.

Examples
open all close allBasic Examples (3)
Scope (4)
Applications (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:
See Also
Related Guides
History
Text
Wolfram Research (2012), HammingWindow, Wolfram Language function, https://reference.wolfram.com/language/ref/HammingWindow.html.
CMS
Wolfram Language. 2012. "HammingWindow." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/HammingWindow.html.
APA
Wolfram Language. (2012). HammingWindow. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/HammingWindow.html
BibTeX
@misc{reference.wolfram_2025_hammingwindow, author="Wolfram Research", title="{HammingWindow}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/HammingWindow.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_hammingwindow, organization={Wolfram Research}, title={HammingWindow}, year={2012}, url={https://reference.wolfram.com/language/ref/HammingWindow.html}, note=[Accessed: 16-August-2025]}