Using Matlab, how can I find the K value at the next root locus?

In Matlab, how can I find the K value in an oscillating system?

(tf system, if necessary: ​​(K * (s + 25)) / (s ^ 3 + 24 s ^ 2 + 100 s))

PS. I am using root locus.

+1


source to share


2 answers


I assume this is a gain compensated closed loop plant (this would be K). In this case, I would say it is a transfer function, then use the root-locus command to see where it falls on the x-axis:

num = [1 25];
den = [1 24 100 0];

sys=tf(num,den)
rlocus(sys)

      



Unfortunately, your system is stable for all K values! Doh!

+1


source


Does the function dcgain

do what you want?



0


source







All Articles