rlocusfind (MathScript RT Module Function)
- Updated2023-03-14
- 1 minute(s) read
rlocusfind (MathScript RT Module Function)
Owning Class: dynchar
Requires: Control Design and Simulation Module and MathScript RT Module
Syntax
rlocusfind(SysInSISO)
K = rlocusfind(SysInSISO)
[K, q] = rlocusfind(SysInSISO)
rlocusfind(SysInSISO, p)
K = rlocusfind(SysInSISO, p)
[K, q] = rlocusfind(SysInSISO, p)
Legacy Name: rlocfind
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. |
Details
The following table lists the support characteristics of this function.
| Supported in the LabVIEW Run-Time Engine | No (returns error or is ignored) |
| Supported on RT targets | No |
Examples
num = [1]
den = [1, 5, 6]
SysInSISO = tf(num, den)
p = [-2.5 - 3.6322i, -2.5 + 3.6322i]
[K, q] = rlocusfind(SysInSISO, p)