%lab2uppgift1


G1=tf([1],[1 0.5 1])
subplot(2,2,1)
grid on
step(G1)
title('G1 step')
subplot(2,2,2)
grid on
impulse(G1)
title('G1 imp')

G2=tf([1],[5 0.5 1])
subplot(2,2,3)
grid on
step(G2)
title('G2 step')
subplot(2,2,4)
grid on
impulse(G2)
title('G2 imp')