Commands Plotting Root Locus
Commands Plotting Root Locus
num=[0 0 0 1];
den=[1 5 7 0];
rlocus(num,den);
hold
x=[0 -2];
y=[0 3.464];
line(x,y);
axis('square')
grid;
title('Root locus plot');
6 0.86
0.76 0.64 0.5 0.34 0.16
4
0.94
2
0.985
Imaginary Axis
10 8 6 4 2
0
0.985
-2
0.94
-4
num=[0 0 0 6];
den=[1 3 2 0];
rlocus(num,den);
hold
x=[0 -2];
y=[0 3.464];
line(x,y);
axis('square')
grid;
title('Root locus plot');
-1 0.985
-2 0.94
-3
0.86
0.76 0.64 0.5 0.34 0.16
-4
-6 -5 -4 -3 -2 -1 0 1 2
Real Axis
Root locus
4
0.94
2
0.985
Imaginary Axis
10 8 6 4 2
0
0.985
-2
0.94
-4