1. Report (1)
Adding zero (a) and changing its value and note its effect on system
response
Matlab Code :
a = [-0.5 2 9 0.1];
for i= 1:4
numH = [(4/a(i)) 4];
denH = [1 5 4];
sysH = tf(numH,denH);
t = 0:0.1:5;
y = step(sysH,t);
plot(t,y,'black','LineWidth',2)
xlabel('t')
ylabel('C(t)')
hold on
end
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
-2
-1
0
1
2
3
4
5
6
7
t
C(t)
a = 0.1
a = 2
a = 9
a = -0.5