Plotting root locus as a function of parameter
Mostra commenti meno recenti
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 Commento
Alex Hirzel
il 3 Giu 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!
Risposte (0)
Categorie
Scopri di più su Classical Control Design in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!