%% L06_IIR %% ============== %% Script to analyze IIR filters %% %% Created : 28 July 2005 %% Modified : 28 July 2005 %% %% Copyright (c) 2005 Salman Durrani . %% ------------------------------------------------------------ clc clear all %% IIR Filter %% change the vlaue of a1 to see effect on IIR filter stability a1=0.5; num=[1]; den=[1 a1]; %% pole-zero plot figure zplane(num,den) %% impulse response figure impz(num,den) grid on %% step response figure stepz(num,den) grid on