Plotting root locus as a function of parameter
5 views (last 30 days)
Show older comments
Hello all
We can use
rlocus (sys)
to plot the root locus of the system.
If we were given the transfer function as a function of not only 's', but also another parameter b; eg, TF(s)=2s+4+b. How can we use rlocus to plot the root locus as a function of this parameter b?
1 Comment
Alex Hirzel
on 3 Jun 2015
To do this, you need to feed rlocus a calculated value for sys. Let's say G(s) = 1/(2s+4+b) and you want to vary b. You need to form the closed-loop system, Gcl(s) = 1/(2s+5+b), and set the denominator equal to zero. Then take this equation, 2s+5+b=0, and solve it for -1/b, which gives -1/b = 1/(2s+6). Feed this into rlocus:
rlocus(tf(1, [2 6]))
Hope this helps you!
Answers (0)
See Also
Categories
Find more on Classical Control Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!