Main Content

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

winwrite

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

ドルフ・チェビシェフ ウィンドウ オブジェクトの値を ASCII ファイルに保存

構文

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

説明

winwrite(H) では、ダイアログが開き、ドルフ・チェビシェフ ウィンドウ オブジェクト H の値が ASCII ファイルにエクスポートされます。ファイル拡張子 .wf が自動的に付加されます。

winwrite(H,'filename') により、現在のフォルダーにあるドルフ・チェビシェフ ウィンドウ オブジェクト H の値が列ベクトルとして ASCII ファイル 'filename' に保存されます。ファイル拡張子 .wffilename に自動的に付加されます。

すべて展開する

長さ N = 16 のドルフ・チェビシェフ ウィンドウを生成します。相対的サイドローブ減衰量を 40 dB に指定します。ウィンドウの値を列ベクトルとして返します。ウィンドウ オブジェクトに関する情報が表示されます。ウィンドウを表示します。

H = sigwin.chebwin(16,40);

win = generate(H)
win = 16×1

    0.1138
    0.1964
    0.3319
    0.4926
    0.6613
    0.8163
    0.9353
    1.0000
    1.0000
    0.9353
      ⋮

wininfo = info(H)
wininfo = 4x26 char array
    'Chebyshev Window          '
    '----------------          '
    'Length                : 16'
    'Sidelobe Attenuation  : 40'

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.