Forums

Finding impulse response from IIR Filter

Started by nasa...@yahoo.com November 30, 2010
Hi all,
I made an IIR filter with its coefficients (a0, a1, a2, b0, b1, b2). I created it in z-domain at MATLAB as the usual standard. Now I want to find its impulse response (h[n]) which is in time domain.
Please help me how to do it in MATLAB...
I've search syntax to convert it, but I couldn't find one..
Thank you very much for your help...
hi,
 hope this helps
 
b=[0.049,0.074,0.105,0.074,0.049];
a=[1, –1.715,1.726,-0.85,0.195];
[h,t]=impz(b,a,25);
stem(t,h);
 
regards
N  S Sreenivas Reddy (seenu)

--- On Sat, 27/11/10, n...@yahoo.com wrote:
From: n...@yahoo.com
Subject: [matlab] Finding impulse response from IIR Filter
To: m...
Date: Saturday, 27 November, 2010, 12:44 PM
 

Hi all,
I made an IIR filter with its coefficients (a0, a1, a2, b0, b1, b2). I created it in z-domain at MATLAB as the usual standard. Now I want to find its impulse response (h[n]) which is in time domain.
Please help me how to do it in MATLAB...
I've search syntax to convert it, but I couldn't find one..
Thank you very much for your help...
process the filter with "1" and all zeros as an impulse;

h = filter([b0 b1 b2], [1 a1 a2],[1 zeros(1,100)]);