Plotting root locus as a function of parameter
Ältere Kommentare anzeigen
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 Kommentar
Alex Hirzel
am 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!
Antworten (0)
Kategorien
Mehr zu Classical Control Design finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!