Num (1) Den (1 1 0) R Rlocus (Num, Den, K) Plot (R,) V (-2 2 - 2 2) Axis (V) Grid Title
Num (1) Den (1 1 0) R Rlocus (Num, Den, K) Plot (R,) V (-2 2 - 2 2) Axis (V) Grid Title
Num (1) Den (1 1 0) R Rlocus (Num, Den, K) Plot (R,) V (-2 2 - 2 2) Axis (V) Grid Title
num=[1];
den=[1 1 0];
r=rlocus(num,den,K);
plot(r,'x')
v = [-2 2 -2 2];
axis(v); %axis('square');
grid;
title ('Root-Locus Plot of G(s) = K/s(s+1)')
FIGURE 4
num=[1];
den=[1 1 0];
r=rlocus(num,den);
plot(r,'x')
CALCULATIONS
𝑠2 + 𝑠 + 𝐾 = 0
𝐾 = −𝑠 2 − 𝑠
𝐾 = (−0.5 − j0.58 )2 − (−0.5 − j0.58)
𝐾 = 0.5864
Values of K at s = -0.9
𝐾 = −(−0.9)2 − (−0.9)
𝐾 = 1.7100
Values of s at K = 0.25
𝑠2 + 𝑠 + 𝐾 = 0
𝑠 = −0.5
Values of s at K = 1000
𝑠2 + 𝑠 + 𝐾 = 0
𝑠 = −0.5000 − 𝑗31.6188 and 𝑠 = −0.5000 + 𝑗31.6188
FIGURE 5
num = [1 3];
den = [1 5 20 16 0];
rlocus(num,den)
v = [-6 6 -6 6];
axis(v); axis('square')
grid;