Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A=[0 1 0;0 0 1;-160 -56 -14]
- B=[0;1;-14]
- C=[1 0 0]
- D=0
- sys=ss(A,B,C,D)
- figure(1);
- subplot(2,1,1)
- rlocus(sys)
- subplot(2,1,2)
- step(sys)
- K1=10
- sys1=feedback(sys,K1)
- figure(2)
- subplot(2,1,1)
- rlocus(sys1)
- subplot(2,1,2)
- step(sys1)
- K2=30
- sys2=feedback(sys,K2)
- figure(3)
- subplot(2,1,1)
- rlocus(sys2)
- subplot(2,1,2)
- step(sys2)
- K3=50
- sys3=feedback(sys,K3)
- figure(4)
- subplot(2,1,1)
- rlocus(sys3)
- subplot(2,1,2)
- step(sys3)
- K4=70
- sys4=feedback(sys,K4)
- figure(5)
- subplot(2,1,1)
- rlocus(sys3)
- subplot(2,1,2)
- step(sys3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement