obsvmx (MathScript RT Module Function)
- Updated2023-03-14
- 1 minute(s) read
obsvmx (MathScript RT Module Function)
Owning Class: ssanals
Requires: Control Design and Simulation Module and MathScript RT Module
Syntax
Ob = obsvmx(SysInSS)
Ob = obsvmx(A, C)
Legacy Name: obsv
Description
Calculates the observability matrix of a state-space system model. You use the observability matrix to determine if the given system is observable. A model is observable if you can estimate each state of the model by looking at only the output response.
Inputs
| Name | Description |
|---|---|
| SysInSS | Specifies a linear time-invariant (LTI) model in state-space form. |
| A | Specifies an n x n state matrix, where n is the number of states. The default is an empty matrix. A is a real matrix. |
| C | Specifies an r x n output matrix, where r is the number of outputs. The default is an empty matrix. C is a real matrix. |
Outputs
| Name | Description |
|---|---|
| Ob | Returns the observability matrix of the SysInSS model. This model is observable if the observability matrix is full column rank. Ob is a real matrix. |
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 = [1, 1; -1, 2]
B = [1, 2]'
C = [2, 1]
D = 0
SysInSS = ss(A, B, C, D)
Ob = obsvmx(SysInSS)