reg (Control Design and Simulation Module, MathScript Function)
Member of the ssdesign class.
Syntax
SysRegSS = reg(SysInSS, L, K)
Description
Constructs a state regulator based on the estimator gain matrix and controller gain matrix of a state-space system model.
Inputs
Name | Description |
SysInSS | Specifies a linear time-invariant (LTI) model in state-space form. |
L | Specifies the estimator gain matrix. You can obtain L using the acker or place function. L is a real matrix. |
K | Specifies the controller gain matrix. You can obtain K using the acker or place function. K is a real matrix. |
Outputs
Name | Description |
SysReg | Returns the state-space model of a state regulator. |
Examples
A = [1, 1; -1, 2]B = [1, 2]'
C = [2, 1]
SysInSS = ss(A, B, C, 0)
L = acker(A', C', [-1, -3])'
K = acker(A, B, [-0.5, -0.75])
SysRegSS = reg(SysInSS, K, L)