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.

winwrite

Class: sigwin.blackman
Package: sigwin

Save Blackman window in ASCII file

Syntax

winwrite(H)
winwrite(H,'filename')

Description

winwrite(H) opens a dialog box that enables you to export the values of the Blackman window object H to an ASCII file with filename extension wf .

winwrite(H,'filename') saves the values of the Blackman window object H in the current folder as a column vector in the ASCII file 'filename' with filename extension wf.

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 = 

         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)

See Also

| |

Was this topic helpful?