BartlettHannWindow
represents a Bartlett–Hann window function of x.
Details
- BartlettHannWindow 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.
- BartlettHannWindow[x] is equal to .
- BartlettHannWindow automatically threads over lists.
Examples
open allclose allBasic Examples (3)
Scope (4)
Applications (3)
Create a moving average filter of length 11:
Smooth the filter using a Bartlett–Hann window:
Log-magnitude plot of the frequency spectrum 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:
Text
Wolfram Research (2012), BartlettHannWindow, Wolfram Language function, https://reference.wolfram.com/language/ref/BartlettHannWindow.html.
CMS
Wolfram Language. 2012. "BartlettHannWindow." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BartlettHannWindow.html.
APA
Wolfram Language. (2012). BartlettHannWindow. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BartlettHannWindow.html