represents a Tukey window function of x.


uses the parameter α.



open allclose all

Basic Examples  (3)

Shape of a 1D Tukey window:

Shape of a 2D Tukey window:

Extract the continuous function representing the Tukey window:

Parameterized Tukey window:

Scope  (6)

Shape of a 1D Tukey window using a specified parameter:

Variation of the shape as a function of the parameter α:

Translated and dilated Tukey window:

2D Tukey window with a circular support:

Evaluate numerically:

Discrete Tukey window of length 15:

Discrete 15×10 2D Tukey window:

Applications  (3)

Create a moving-average filter of length 11:

Smooth the filter using a Tukey window:

Log-magnitude plot of the frequency spectrum of the filters:

Use a window specification to calculate sample PowerSpectralDensity:

Calculate the spectrum:

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:

Use a window specification for time series estimation:

Specify window for spectral estimator:

Properties & Relations  (4)

TukeyWindow[x,1] is equivalent to a Hann window:

TukeyWindow[x,0] is equivalent to a box window:

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:

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:

Use a pure function instead:

Introduced in 2012
Updated in 11.0.1