isobsv (Control Design and Simulation Module, MathScript Function)
Member of the info class.
Syntax
[observe, detect] = isobsv(SysInSS, tol)
[observe, detect] = isobsv(A, C, tol)
Description
Determines whether a system model is observable or detectable. A system of order n is observable if the observability matrix is full rank, meaning the rank of this matrix is equal to n. A system is detectable if all the unstable eigenvalues are observable.
Inputs
Name | Description |
SysInSS | Specifies a linear time-invariant (LTI) system in transfer function, zero-pole-gain, or state-space form. This function converts transfer function and zero-pole-gain models to state-space form before determining whether the model is observable or detectable. |
tol | Specifies the tolerance in determining whether the observability matrix is rank-deficient. If a diagonal value in the A matrix of SysInSS is less than the value of tol, this function considers that value equal to 0. The default value of tol is 0.00000001. tol is a real scalar. |
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 |
observe | Returns 1 if the SysInSS model is observable. This output returns 0 if the model is not observable. |
detect | Returns 1 if the SysInSS model is detectable. This output returns 0 if the model is not detectable. |
Examples
A = eye(2);C = [0 0];
observe = isobsv(A,C);