Main Content

generate

Class: sigwin.bohmanwin
Namespace: sigwin

Generates Bohman window

Syntax

win = generate(H)

Description

win = generate(H) returns the values of the Bohman window object as a double-precision column vector.

Examples

expand all

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

H = sigwin.bohmanwin(16);

win = generate(H)
win = 16×1

         0
    0.0077
    0.0581
    0.1791
    0.3723
    0.6090
    0.8343
    0.9791
    0.9791
    0.8343
      ⋮

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

wvtool(H)