How do you plot a root locus with K?
[r,k] = rlocus(sys) returns the vector of feedback gains k and the complex root locations r for these gains. r = rlocus( sys , k ) uses the user-specified vector of feedback gains k to output the closed-loop poles r that define the root locus plot.
What is root locus with example?
Definition. The root locus of a feedback system is the graphical representation in the complex s-plane of the possible locations of its closed-loop poles for varying values of a certain system parameter. The points that are part of the root locus satisfy the angle condition.