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.

info

Class: sigwin.gausswin
Package: sigwin

Display information about Gaussian window object

Syntax

info(H)
info_win = info(H)

Description

info(H) displays length and dispersion information for the Gaussian window object H.

info_win = info(H) returns length and dispersion information for the Gaussian window object H in the character array info_win.

Examples

expand all

Generate two Gaussian windows of length N = 64. Specify α values of 4 and 2. Show information about the window objects. Display the windows.

H4 = sigwin.gausswin(64,4);
H2 = sigwin.gausswin(64,2);

wvt = wvtool(H4,H2);
legend(wvt.CurrentAxes,'\alpha=4','\alpha=2')

The window with α = 4 has a wider mainlobe and less sidelobe energy.

Generate a Gaussian window with N = 16 and α = 3. Return the window values as a column vector. Write the coefficients to an ASCII file in the current directory. Show information about the window object. Display the window.

H = sigwin.gausswin(16,3);

win = generate(H)
win = 

    0.0111
    0.0340
    0.0889
    0.1979
    0.3753
    0.6065
    0.8353
    0.9802
    0.9802
    0.8353

winwrite(H,'gausswin_16_3');
wininfo = info(H)
wininfo = 4×15 char array
    'Gaussian Window'
    '---------------'
    'Length  : 16   '
    'Alpha   : 3    '
wvtool(H)

Was this topic helpful?