clc;
clear all;
close all;
a=input('enter the numerator coefficient value');
b=input('enter the denominator coefficient value');
N=input('enter the number of samples');
[h,t]=impz(a,b,N);
disp('h=')
disp(h)
stem(t,h);
xlabel('samples');
ylabel('amplitude');
title('impulse response');
great work harish .
ReplyDeleteit is very helpful