minimal_state (MathScript RT Module Function)
- Updated2023-03-14
- 1 minute(s) read
minimal_state (MathScript RT Module Function)
Owning Class: reduce
Requires: Control Design and Simulation Module and MathScript RT Module
Syntax
SysMinSS = minimal_state(SysInSS)
Legacy Name: sminreal
Description
Calculates the minimal state realization of a state-space system model. This function calculates the minimal state realization based on unconnected (null) rows and columns in the controllability and observability matrices. This function only eliminates inputs or outputs when columns or rows of these matrices are below a tolerance, defined as 2E-16, even though the controllability and observability matrices might be rank deficient.
Inputs
| Name | Description |
|---|---|
| SysInSS | Specifies a linear time-invariant (LTI) model in state-space form. |
Outputs
| Name | Description |
|---|---|
| SysMinSS | Returns an LTI state-space model that is the minimal state realization of the SysInSS model. |
Details
The following table lists the support characteristics of this function.
| Supported in the LabVIEW Run-Time Engine | Yes |
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | Not characterized |
Examples
A = 0
B = 0
C = 0
D = 1
SysInSS = ss(A, B, C, D)
SysMinSS = minimal_state(SysInSS)