Plotting root locus as a function of parameter

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 件)

カテゴリ

質問済み:

JJ
2014 年 3 月 25 日

コメント済み:

2015 年 6 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by