メインコンテンツ

インパルス応答

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

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

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

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

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

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

h = filter(b,a,imp);

stem(0:50,h)

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

インパルス応答を簡単に表示するには、関数 impz を使用します。

impz(b,a,51)

Figure contains an axes object. The axes object with title Impulse Response, xlabel n (samples), ylabel Amplitude contains an object of type stem.

参考

関数