| Signal Processing Toolbox™ | ![]() |
w = tukeywin(L,r)
w = tukeywin(L,r) returns an L-point,
Tukey window in column vector w. Tukey windows
are cosine-tapered windows. r is the ratio of taper
to constant sections and is between 0 and 1.
is a rectwin window and
is a hann window. The default value for r is 0.5.
Compute 128-point Tukey windows with five different tapers and display the results using WVTool:
L=128; t0=tukeywin(L,0); % Equivalent to rectangular window t25=tukeywin(L,0.25); t5=tukeywin(L); % r=0.5 t75=tukeywin(L,0.75); t1=tukeywin(L,1); % Equivalent to Hann window wvtool(t0,t25,t5,t75,t1)

The equation for computing the coefficients of a Tukey window is

The window length is
.
[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.
chebwin, gausswin, kaiser, window, wintool, wvtool
![]() | tripuls | udecode | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |