You are on page 1of 1

clear all

clc
t=0:0.001:2;
Gsn=tf(34,[1 6 34])
step(Gsn,t)
hold
k=34/6;
Gsa=tf([k 34],[1 6 34])
step(Gsa,t)
k=17;
Gsb=tf([k 34],[1 6 34])
step(Gsb,t)
k=34;
Gsc=tf([k 0],[1 6 34])
step(Gsc,t)
k=34;
Gsd=tf([k 0],[1 6 34])
step(Gsd,t)
k=-17;
Gse=tf([k 34],[1 6 34])
step(Gse,t)
k=17;
Gsf=tf([k -34],[1 6 34])
step(Gsf,t)
figure(2)
pzmap(Gsf)
figure(3)
bode(Gse)
figure(4)
bode(Gsf)