rlocusplot
Root locus plot of dynamic system
Description
The rlocusplot function plots the root locus of a dynamic system
model and returns an
RLocusPlot chart object. To customize the plot, modify the properties of
the chart object using dot notation. For more information, see Customize Linear Analysis Plots at Command Line.
To obtain feedback gains and complex root locations, use the rlocus function.
Creation
Syntax
Description
plots the root locus of the SISO dynamic system model rlp = rlocusplot(sys)sys and
returns the corresponding chart object.
To produce a smooth plot, the rlocusplot function automatically
selects a set of positive feedback gains.
plots responses for feedback gains specified in rlp = rlocusplot(___,k)k. You can specify
a frequency range or a vector of frequencies. You can use k with
any of the input argument combinations in previous syntaxes.
plots the root locus with the plotting options specified in
rlp = rlocusplot(___,plotoptions)plotoptions. Settings you specify in
plotoptions override the plotting preferences for the current
MATLAB® session.
plots the poles and zeros in the specified parent graphics container, such as a
rlp = rlocusplot(parent,___)Figure or TiledChartLayout, and sets the
Parent property. Use this syntax when you want to create a plot
in a specified open figure or when creating apps in App Designer.
Input Arguments
Properties
Object Functions
addResponse | Add dynamic system response to existing response plot |
Examples
More About
Tips
Plots created using
rlocusplotdo not support multiline titles or labels specified as string arrays or cell arrays of character vectors. To specify multiline titles and labels, use a single string with anewlinecharacter.rlocusplot(sys) title("first line" + newline + "second line");
