| Signal Processing Toolbox | ![]() |
Syntax
Description
w = tukeywin(n,r)
returns an n-point, Tukey window in column vector w. Tukey windows are cosine-tapered windows.
is the ratio of taper to constant sections and is between 0 and 1.
is a rectwin window and
is a hann window.
Examples
Compute 128-point Tukey windows with five different tapers and display the results using WVTool:
N=128; t0=tukeywin(N,0); %Equivalent to rectangular window t25=tukeywin(N,0.25); t5=tukeywin(N,0.5); t75=tukeywin(N,0.75); t1=tukeywin(N,1); %Equivalent to Hann window wvtool(t0,t25,t5,t75,t1)
Algorithm
The equation for computing the coefficients of a Tukey window is
See Also
chebwin, gausswin, kaiser, window, wintool, wvtool
References
[1] Harris, F. J. "On the Use of Windows for Harmonic Analysis with the Discrete Fourier Transform." Proceedings of the IEEE. Vol. 66 (January 1978). pp. 66-67.
| tripuls | udecode | ![]() |