Main Content

winwrite

Class: sigwin.parzenwin
Namespace: sigwin

Save Parzen window in ASCII file

Syntax

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

Description

winwrite(H) opens a dialog to export the values of the Parzen window object H to an ASCII file. The file extension .wf is automatically appended.

winwrite(H,'filename') saves the values of the Parzen window object H in the current folder as a column vector in the ASCII file 'filename'. The file extension .wf is automatically appended to filename.

Examples

expand all

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

H = sigwin.parzenwin(16);

win = generate(H)
win = 16×1

    0.0005
    0.0132
    0.0610
    0.1675
    0.3540
    0.5972
    0.8286
    0.9780
    0.9780
    0.8286
      ⋮

wininfo = info(H)
wininfo = 3x13 char array
    'Parzen Window'
    '-------------'
    'Length  : 16 '

wvtool(H)