Model Predictive Control Toolbox | ![]() ![]() |
Calculates steady-state gain matrix or poles for a system in the MPC mod format.
Syntax
Description
mod
is a dynamic model in the MPC mod format. smpcgain
and smpcpole
convert it to its equivalent state-space form:
where includes all of the inputs in
mod
. smpcgain
then calculates the gain matrix:
mod
, and nu + nd + nw columns, corresponding to each of the inputs.
smpcpole
calculates the poles, i.e., the eigenvalues of the matrix.
Example
See smpccl
for an example of the use of smpcpole
.
Restriction
If mod
is not asymptotically stable, smpcgain
terminates with an error message.
![]() | smpcest | smpcsim | ![]() |