Plotting Root Locus In matlab with K being a positive integar

127 vues (au cours des 30 derniers jours)
Kevin Swenson
Kevin Swenson le 3 Mai 2022
Réponse apportée : Paul le 3 Mai 2022
I have a transfer function of K/(s^3+9s^2+27s+27) and am wondering how to plot the root locus of this as the numerator is a variable. K is gain and has to be a positive integar.

Réponses (1)

Paul
Paul le 3 Mai 2022
Can use
r = rlocus(sys,K)
where sys is the transfer function with numerator of 1 and K is a vector of positive integers of interest. Then use plot() to plot the imaginary part and real part of r.

Community Treasure Hunt

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

Start Hunting!

Translated by