# taylorwin

## Syntax

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

## Description

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.

example

## Examples

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); wvtool(w)

## Input Arguments

collapse all

Window length, specified as a positive integer.

Note

If you specify L as noninteger, the function rounds it to the nearest integer value.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

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.

## Algorithms

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.

## References

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

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

## Version History

Introduced in R2006a