Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

generate

Class: sigwin.taylorwin
Package: sigwin

Generates Taylor window

Syntax

win = generate(H)

Description

win = generate(H) returns the values of the Taylor window object H as a double-precision column vector.

Examples

expand 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 = 

    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)

Was this topic helpful?