TukeyWindow
TukeyWindow[x]
represents a Tukey window function of x.
TukeyWindow[x,α]
uses the parameter α.
Details
- TukeyWindow, also known as the cosine-tapered window, 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.
- TukeyWindow[x,α] is equal to .
- TukeyWindow[x] is equivalent to TukeyWindow[x,2/3].
- TukeyWindow automatically threads over lists.
Examples
open allclose allBasic Examples (3)
Scope (6)
Applications (3)
Use the Tukey window to diminish the effect of signal partitioning when computing the spectrogram:
Use a window specification to calculate sample PowerSpectralDensity:
Compare to spectral density calculated without a windowing function:
The plot shows that the window smooths the spectral density:
Compare to the theoretical spectral density of the process:
Properties & Relations (10)
TukeyWindow[x,1] is equivalent to a Hann window:
TukeyWindow[x,0] is equivalent to a box window:
TukeyWindow[x,1] is equivalent to a Hann window:
Tukey window is a convolution of a unit pulse with a raised cosine:
The area under the Tukey window:
Normalize to create a window with unit area:
Fourier transform of the Tukey window:
Power spectrum of the Tukey window:
Fourier transform of the parametrized Tukey window:
Variation of the magnitude spectrum of the Tukey window as a function of the parameter :
Discrete-time Fourier transform of the discrete Tukey window of length 11:
Power spectra for three different window lengths:
Power spectra for three different values of the shape parameter :
Possible Issues (1)
2D sampling of Tukey window will use a different parameter for each row of samples when passed as a symbol to Array:
Text
Wolfram Research (2012), TukeyWindow, Wolfram Language function, https://reference.wolfram.com/language/ref/TukeyWindow.html (updated 2016).
CMS
Wolfram Language. 2012. "TukeyWindow." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/TukeyWindow.html.
APA
Wolfram Language. (2012). TukeyWindow. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TukeyWindow.html