w = taylorwin(L)
w = taylorwin(L,nbar)
w = taylorwin(L,nbar,sll)


w = taylorwin(L) returns an L-point Taylor window.

w = taylorwin(L,nbar) returns an L-point Taylor window with a number (nbar) of nearly constant-level sidelobes adjacent to the mainlobe.


w = taylorwin(L,nbar,sll) returns an L-point Taylor window with a maximum sidelobe level of sll dB relative to the mainlobe peak.


collapse all

Generate a 64-point Taylor window with four nearly constant-level sidelobes and a peak sidelobe level of -35 dB relative to the mainlobe peak. Visualize the result with wvtool.

w = taylorwin(64,4,-35);

Input Arguments

collapse all

Window length, specified as a positive integer.

Data Types: single | double

Number of nearly constant-level sidelobes adjacent to the mainlobe, specified as a positive integer. These sidelobes are “nearly constant-level” because some decay occurs in the transition region.

Maximum sidelobe level relative to mainlobe peak, specified as a real negative scalar in dB. It produces sidelobes with peaks sll dB down below the mainlobe peak.

Output Arguments

collapse all

Taylor window, returned as a column vector.


Taylor windows are similar to Chebyshev windows. A Chebyshev window has the narrowest possible mainlobe for a specified sidelobe level, but a Taylor window allows you to make tradeoffs between the mainlobe width and the sidelobe level. The Taylor distribution avoids edge discontinuities, so Taylor window sidelobes decrease monotonically. Taylor window coefficients are not normalized. Taylor windows are typically used in radar applications, such as weighting synthetic aperture radar images and antenna design.


[1] Carrara, Walter G., Ronald M. Majewski, and Ron S. Goodman. Spotlight Synthetic Aperture Radar: Signal Processing Algorithms. Boston: Artech House, 1995, Appendix D.2.

[2] Brookner, Eli. Practical Phased Array Antenna Systems. Boston: Artech House, 1991.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

See Also



Introduced in R2006a