Main Content

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

インパルス応答

デジタル フィルターのインパルス応答は、次の式で定義される単位インパルス シーケンスからの出力です。

δ(n)={1,n=0,0,n0.

インパルス シーケンスを生成するにはいくつかの方法がありますが、次に簡単な方法を示します。

imp = [1; zeros(49,1)];

b=1 および a=[1-0.9] の簡単なフィルターのインパルス応答は h(n)=0.9n になり、これは指数関数的に減衰します。

b = 1;
a = [1 -0.9];

h = filter(b,a,imp);

stem(0:49,h)

Figure contains an axes object. The axes object contains an object of type stem.

インパルス応答を簡単に表示するには、フィルターの可視化ツール fvtool を使用します。

fvtool(b,a)

Figure Figure 1: Magnitude Response (dB) contains an axes object. The axes object with title Magnitude Response (dB), xlabel Normalized Frequency ( times pi blank rad/sample), ylabel Magnitude (dB) contains an object of type line.

ツール バーの [インパルス応答] ボタン [] をクリックし、メニューから [解析][インパルス応答] を選択するか、あるいは以下のコードを入力して、単極システムの指数関数的減衰を取得します。

fvtool(b,a,'Analysis','impulse')

Figure Figure 2: Impulse Response contains an axes object. The axes object with title Impulse Response, xlabel Samples, ylabel Amplitude contains an object of type stem.