New Text Document

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

clc

clear all
n=[1];
d=[1 5 6];
g=tf(n,d)
subplot(3,3,1)
pzplot(g)
subplot(3,3,2)
step(g)
subplot(3,3,3)

s = tf('s');
P = 1/(3*s^2 + 2*s - 1);
rlocus(P)
rlocus((s - 0.3)*P)

sys_cl = feedback((s - 0.3)*P,1);


step(sys_cl,100)
grid on

rlocus((s - (1/3))*P)
sys_cl = feedback((s - (1/3))*P,1);
step(sys_cl,200)

%%
n3=[1]
d3=[1 1 -6]
g3=tf(n3,d3)
step(g3)

You might also like