rlocfind (Control Design and Simulation Module, MathScript Function)
Member of the dynchar class.
Syntax
rlocfind(SysInSISO)
K = rlocfind(SysInSISO)
[K, q] = rlocfind(SysInSISO)
rlocfind(SysInSISO, p)
K = rlocfind(SysInSISO, p)
[K, q] = rlocfind(SysInSISO, p)
Description
Creates an interactive Evans, or root-locus, plot of closed-loop poles of a single-input single-output (SISO) system model. You can specify pole locations and use the interactive plot to adjust the feedback gain to place model poles in these locations.
Inputs
Name | Description |
SysInSISO | Specifies a SISO linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form. |
p | Specifies the locations where you want to place the closed-loop poles. p is a complex vector. |
Outputs
Name | Description |
K | Returns the feedback gain value that places the closed-loop poles in the locations the q output returns. |
q | Returns the locations of the closed-loop poles of the SysInSISO model when the feedback gain is K. q is a complex vector. |
Examples
num = [1]den = [1, 5, 6]
SysInSISO = tf(num, den)
p = [-2.5 - 3.6322i, -2.5 + 3.6322i]
[K, q] = rlocfind(SysInSISO, p)