w = chebwin(L,r) returns the column vector w containing the length L Chebyshev window whose Fourier transform sidelobe magnitude is r dB below the mainlobe magnitude. The default value for r is 100.0 dB.
Create a 64-point Chebyshev window with 100 dB of sidelobe attenuation and display the result using WVTool:
An artifact of the equiripple design method used in chebwin is the presence of impulses at the endpoints of the time-domain response. This is due to the constant-level sidelobes in the frequency domain. The magnitude of the impulses are on the order of the size of the spectral sidelobes. If the sidelobes are large, the effect at the endpoints may be significant. For more information on this effect, see .
 IEEE® Programs for Digital Signal Processing. IEEE Press. New York: John Wiley & Sons, 1979. Program5.2.
 Harris, Fredric J. Multirate Signal Processing for Communication Systems, New Jersey: Prentice Hall PTR, 2004, pp. 60-64.