Plotting root locus as a function of parameter

5 次查看(过去 30 天)
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 个评论
Alex Hirzel
Alex Hirzel 2015-6-3
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!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Classical Control Design 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by