Main Content

info

Class: sigwin.chebwin
Namespace: sigwin

Display information about Dolph–Chebyshev window object

Syntax

info(H)
info_win = info(H)

Description

info(H) displays length and relative sidelobe attenuation information for the Dolph-Chebyshev window object H.

info_win = info(H) returns length information for the Dolph-Chebyshev window object H in the character array info_win.

Examples

expand all

Generate a Dolph-Chebyshev window of length N = 16. Specify a relative sidelobe attenuation of 40 dB. Return the window values as a column vector. Show information about the window object. Display the window.

H = sigwin.chebwin(16,40);

win = generate(H)
win = 16×1

    0.1138
    0.1964
    0.3319
    0.4926
    0.6613
    0.8163
    0.9353
    1.0000
    1.0000
    0.9353
      ⋮

wininfo = info(H)
wininfo = 4x26 char array
    'Chebyshev Window          '
    '----------------          '
    'Length                : 16'
    'Sidelobe Attenuation  : 40'

wvtool(H)