# GTAYLORWIN

## Purpose:

Generates a Taylor Window.

## Syntax:

GTAYLORWIN(N, spacing, nbar, attn)

N |
- |
An integer, the number of points to generate. |

spacing |
- |
A real, the spacing (delta x) between points. |

nbar |
- |
Optional. An integer, the number of approximate
constant level sidelobes adjacent to the mainlobe. Defaults
to 4. |

attn |
- |
Optional. A real, the sidelobe attenuation
from the mainlobe in dB. Defaults to -30. |

## Returns:

A series.

## Example:

gtaylorwin(100,.01)

Creates a 100-point Taylor window with
points spaced at an interval of 0.01. The number of approximately
constant level sidelobes is 4 and the sidelobe
attenuation is -30 dB.

## Example:

gtaylorwin(100, .01, 5, -35)

Creates a 100-point Taylor window with points spaced at an interval
of 0.01. The number of approximately constant level sidelobes is 5 and
the sidelobe attenuation is -35 dB.

## Remarks:

Taylor windows are similar to Dolph-Chebyshev windows.
The Taylor window approximates the minimization of the main lobe width
in the Dolph-Chebyshev window, but allows the sidelobe levels
to decrease beyond a certain frequency.

Because the Taylor distribution avoids edge discontinuities, the window
sidelobes decrease monotonically.

The Taylor window coefficients are not normalized.

Taylor windows are typically used in radar applications, such as weighting
synthetic aperture radar images, circular array antennas and antenna design.

Use TAYLORWIN to automatically create and
multiply a Taylor window with a series. For example:

taylorwin(w2)

multiplies Window 2 with a Taylor window calculated to the same length
and spacing as the series in W2.

See GCHEBWIN to generate a Dolph-Chebyshev
window.

## See Also:

FFT

GCHEBWIN

GHAMMING

GKAISER

PSD

SPECTRUM

TAYLORWIN