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.nuttallwin
Package: sigwin

Display information about Nuttall defined four-term Blackman-Harris window object

Syntax

info(H)
info_win = info(H)

Description

info(H) displays length information about the Nuttall defined four-term Blackman-Harris window object H.

info_win = info(H) returns length information about the Nuttall defined four-term Blackman-Harris window object H in the character array info_win.

Examples

expand all

Generate two Nuttall-defined four-term Blackman-Harris windows:

  • The first window has N = 64 and is symmetric.

  • The second window has N = 63 and is periodic.

Display the two windows.

Hs = sigwin.nuttallwin(64);
Hp = sigwin.nuttallwin(63);
Hp.SamplingFlag = 'periodic';

wvt = wvtool(Hs,Hp);
legend(wvt.CurrentAxes,'Symmetric','Periodic')

Generate a symmetric Nuttall-defined four-term Blackman-Harris window with N = 16. 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.nuttallwin(16);

win = generate(H)
win = 

    0.0004
    0.0048
    0.0306
    0.1105
    0.2778
    0.5292
    0.7983
    0.9755
    0.9755
    0.7983

winwrite(H,'nuttallwin_16');
wininfo = info(H)
wininfo = 4×26 char array
    'Nuttall Window            '
    '--------------            '
    'Length         : 16       '
    'Sampling Flag  : symmetric'
wvtool(H)

Was this topic helpful?