From: Thomas W. <we...@nu...> - 2005-11-25 13:17:08
|
Hi, > ## tukeywin Tukey window. > ## w =tukeywin(n) returns an n-point Tukey window in a column vector. > ## > ## w = tukeywin(n,r) returns an N-point Tukey window in a column vector. > ## A Tukey window is also known as the cosine-tapered window. The r > ## parameter specifies the ratio of taper to constant sections. This ratio > ## is normalized to 1 (i.e., 0 < r < 1). If omitted, r is set to 1/2. > ## > ## NOTE: At extreme values of r, the Tukey window degenerates into other > ## common windows. > ## R = 1 -> Hanning window. > ## R = 0 -> boxcar window. > ## > ## > ## > ## Reference: > ## [1] fredric j. harris [sic], On the Use of Windows for Harmonic Analysis > ## with the Discrete Fourier Transform, Proceedings of the IEEE, > ## Vol. 66, No. 1, January 1978, Page 67, Equation 38. This is one to one the comment from "tukeywin.m" as shipped with Matlab (Release 14, Service Pack 3). Did you copy it? Regards Thomas |