Main Content

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

winwrite

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

ブラックマン・ハリス ウィンドウの ASCII ファイルへの保存

構文

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

説明

winwrite(H) によりダイアログ ボックスが開き、ブラックマン・ハリス ウィンドウ オブジェクト H の値を、ファイル拡張子 wf の ASCII ファイルにエクスポートできます。

winwrite(H,'filename') により、現在のフォルダーにあるブラックマン・ハリス ウィンドウ オブジェクト H の値が列ベクトルとして ASCII ファイル 'filename' にファイル名の拡張子 wf 付きで保存されます。

すべて展開する

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

H = sigwin.blackmanharris(16);

win = generate(H)
win = 16×1

    0.0001
    0.0036
    0.0267
    0.1030
    0.2680
    0.5206
    0.7938
    0.9749
    0.9749
    0.7938
      ⋮

wininfo = info(H)
wininfo = 4x26 char array
    'Blackman-Harris Window    '
    '----------------------    '
    'Length         : 16       '
    'Sampling Flag  : symmetric'

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.