Main Content

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

generate

クラス: sigwin.barthannwin
名前空間: sigwin

修正バートレット・ハン ウィンドウの生成

構文

win = generate(H)

説明

win = generate(H) では、修正バートレット・ハン ウィンドウ オブジェクト H の値が倍精度の列ベクトルとして返されます。

すべて展開する

長さ N = 16 の修正バートレット・ハン ウィンドウを生成します。その値を列ベクトルとして返します。ウィンドウ オブジェクトに関する情報が表示されます。ウィンドウを表示します。

H = sigwin.barthannwin(16);

win = generate(H)
win = 16×1

         0
    0.0649
    0.1897
    0.3586
    0.5477
    0.7300
    0.8794
    0.9757
    0.9757
    0.8794
      ⋮

wininfo = info(H)
wininfo = 3x23 char array
    'Bartlett-Hanning Window'
    '-----------------------'
    'Length  : 16           '

wvtool(H)

Figure Window Visualization Tool contains 2 axes objects and other objects of type uimenu, uitoolbar, uipanel. Axes object 1 with title Time domain, xlabel Samples, ylabel Amplitude contains an object of type line. Axes object 2 with title Frequency domain, xlabel Normalized Frequency (\times\pi rad/sample), ylabel Magnitude (dB) contains an object of type line.