Specifications

Table Of Contents
rlocus
16-180
the closed-loop poles are the roots of
rlocus adaptively selects a set of positive gains to produce a smooth plot.
Alternatively,
rlocus(sys,k)
uses the user-specified vector k of gains to plot the root locus.
rlocus(sys1,sys2,...) draws the root loci of multiple LTI models sys1,
sys2,...
on a single plot. You can specify a color, line style, and marker for
each model, as in
rlocus(sys1,'r',sys2,'y:',sys3,'gx').
When invoked with output arguments,
[r,k] = rlocus(sys)
r = rlocus(sys,k)
return the vector k of selected gains and the complex root locations r for these
gains. The matrix
r has length(k) columns and its jth column lists the
closed-loop roots for the gain
k(j).
Example Find and plot the root-locus of the following system.
h = tf([2 5 1],[1 2 3]);
hs
()
ns
()
ds
()
-----------
=
ds
()
kns
()
+ 0=
k
hs
()
2s
2
5s 1++
s
2
2s 3++
-------------------------------
=