represents an exact flat top window function of x.


FlatTopWindow
represents an exact flat top window function of x.
Details

- FlatTopWindow is a window function typically used in signal processing applications where data needs to be processed in short segments.
- Window functions have a smoothing effect by gradually tapering data values to zero at the ends of each segment.
- FlatTopWindow[x] is equal to
.
- FlatTopWindow 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 flat top 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:
Related Guides
History
Text
Wolfram Research (2012), FlatTopWindow, Wolfram Language function, https://reference.wolfram.com/language/ref/FlatTopWindow.html.
CMS
Wolfram Language. 2012. "FlatTopWindow." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FlatTopWindow.html.
APA
Wolfram Language. (2012). FlatTopWindow. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FlatTopWindow.html
BibTeX
@misc{reference.wolfram_2025_flattopwindow, author="Wolfram Research", title="{FlatTopWindow}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/FlatTopWindow.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_flattopwindow, organization={Wolfram Research}, title={FlatTopWindow}, year={2012}, url={https://reference.wolfram.com/language/ref/FlatTopWindow.html}, note=[Accessed: 08-August-2025]}