Main Content

sigwin.taylorwin Class

Namespace: sigwin

Construct Taylor window object

Description

Note

The use of sigwin.taylorwin is not recommended. Use taylorwin instead.

sigwin.taylorwin creates a handle to a Taylor window object for use in spectral analysis and FIR filtering by the window method. Object methods enable workspace import and ASCII file export of the window values.

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. Taylor windows are typically used in radar applications, such as weighting synthetic aperture radar images and antenna design.

Construction

H = sigwin.taylorwin returns a Taylor window object H of length 64, with a maximum sidelobe level of 30 dB and 4 constant-level sidelobes adjacent to the main lobe.

H = sigwin.taylorwin(Length) returns a Taylor window object H of length Length with a maximum sidelobe level of 30 dB and 4 constant-level sidelobes adjacent to the main lobe. Length must be a positive integer. Entering a positive noninteger value for Length rounds the length to the nearest integer. Entering a 1 for Length results in a window with a single value of 1.

H = sigwin.taylorwin(Length,Nbar) returns a Taylor window object with Nbar nearly constant-level sidelobes adjacent to the main lobe. Nbar must be a positive integer.

H = sigwin.taylorwin(Length,Nbar,SidelobeLevel) returns a Taylor window object with a maximum sidelobe level SidelobeLevel dB below the main lobe level.

Properties

Length

Taylor window length. The window length must be a positive integer. Entering a positive noninteger value for Length rounds the length to the nearest integer. Entering a 1 for Length results in a window with a single value of 1.

Nbar

Number of nearly constant-level sidelobes. Must be a positive integer.

SidelobeLevel

Maximum sidelobe level relative to the main lobe peak. The maximum sidelobe level is a nonnegative number which gives side lobes SidelobeLevel dB down from the main lobe peak.

Methods

generateGenerates Taylor window
infoDisplay information about Taylor window object
winwriteSave Taylor window object values in ASCII file

Copy Semantics

Handle. To learn how copy semantics affect your use of the class, see Copying Objects in the MATLAB® Programming Fundamentals documentation.

Examples

collapse all

Generate a Taylor window of length N = 32 with a maximum sidelobe level of 60 dB and two constant-level sidelobes adjacent to the mainlobe. Display the window.

H = sigwin.taylorwin(32,3,60);

wvt = wvtool(H);
ax = wvt.CurrentAxes;
ax.YLim = [-50 50];

Generate a Taylor window of length N = 16. Return its values as a column vector. Show information about the window object. Display the window.

H = sigwin.taylorwin(16);

win = generate(H)
win = 16×1

    0.3931
    0.5021
    0.6912
    0.9174
    1.1409
    1.3330
    1.4737
    1.5485
    1.5485
    1.4737
      ⋮

wininfo = info(H)
wininfo = 5x47 char array
    'Taylor Window                                  '
    '-------------                                  '
    'Length                                     : 16'
    'Number of nearly constant-level sidelobes  : 4 '
    'Maximum sidelobe level                     : 30'

wvtool(H)

References

Carrara, W. G., R. M. Majewski, and R. S. Goodman. Spotlight Synthetic Aperture Radar: Signal Processing Algorithms. Boston: Artech House Publishers, 1995. Appendix D.2.