Main Content

info

Class: sigwin.blackman
Namespace: sigwin

Display information about Blackman window object

Syntax

info(H)
info_win = info(H)

Description

info(H) displays length and sampling information about the Blackman window object H.

info_win = info(H) returns length and sampling information about the Blackman window object H in the character array info_win.

Examples

expand all

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

H = sigwin.blackman(16);

win = generate(H)
win = 16×1

         0
    0.0168
    0.0771
    0.2008
    0.3940
    0.6300
    0.8492
    0.9822
    0.9822
    0.8492
      ⋮

wininfo = info(H)
wininfo = 4x26 char array
    'Blackman Window           '
    '---------------           '
    'Length         : 16       '
    'Sampling Flag  : symmetric'

wvtool(H)

Figure Window Visualization Tool contains 2 axes objects and other objects of type uimenu, uitoolbar, uipanel. Axes object 1 with title Time domain, xlabel Samples, ylabel Amplitude contains an object of type line. Axes object 2 with title Frequency domain, xlabel Normalized Frequency (\times\pi rad/sample), ylabel Magnitude (dB) contains an object of type line.

See Also

| |