Main Content

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

fftcoeffs

構文

c = fftcoeffs(hd)

説明

c = fftcoeffs(hd) は、dfilt.fftfir オブジェクトでのフィルター処理で使用される周波数領域係数を返します。c に係数が格納されます。

すべて折りたたむ

ここでは、離散時間フィルター hd から FFT 係数を返す例を示します。

b = [0.05 0.9 0.05];
len = 50;
hd = dfilt.fftfir(b,len);
c=fftcoeffs(hd);

係数のインパルス応答をプロットします。

impz(c);

Figure contains 2 axes objects. Axes object 1 with title Impulse Response, xlabel n (samples), ylabel Real Amplitude contains an object of type stem. Axes object 2 with xlabel n (samples), ylabel Imaginary Amplitude contains an object of type stem.

バージョン履歴

R2011a で導入