Algorithm:: All All 'Enter The Value of N:'
Algorithm:: All All 'Enter The Value of N:'
%% STABILITY
h=impz(num,den,n);
plot(h)
if h(end)<0.01
disp('system is stable')
else
disp('system is unstable')
end
1
COMMAND:
Enter the value of n:50
System is linear
Error is 0
OUTPUT: