DynamicSystems
ObservabilityMatrix
compute the observability matrix
Calling Sequence
Parameters
Description
Examples
ObservabilityMatrix( sys )
ObservabilityMatrix( Amat, Cmat )
sys
-
System; state-space system
Amat
Matrix; state-space matrix A
Cmat
Matrix; state-space matrix C
The ObservabilityMatrix command computes the observability matrix of a state-space system.
If the parameter sys is a state-space System, then the A and C Matrices are sys:-a and sys:-c, respectively.
If the parameters Amat and Cmat are Matrices, then they are the A and C Matrices, respectively.
The observability matrix has dimensions o*n x n, where n is the number of states (dimension of A) and o is the number of outputs (row dimension of C) It has the form <<C>, <C . A>, <C . A^2>, <C . A^3>, ..., <C . A^(n-1)>>.
with⁡DynamicSystems:
with⁡LinearAlgebra:
sys1≔StateSpace⁡1s2+s+10:
sys1:-a,sys1:-c
01−10−1,10
ObservabilityMatrix⁡sys1
1001
sys2≔StateSpace⁡−3|1|0,−5|0|1,−3|0|0,1,2,3,1|0|0,0:
sys2:-a,sys2:-c
−310−501−300,100
ObservabilityMatrix⁡sys2:-a,sys2:-c
100−3104−31
sys3≔StateSpace⁡DiagonalMatrix⁡a1,a2,a3,0|0,b1|0,0|b2,c1|0|0,0|0|c3,0|0,0|0:
sys3:-a,sys3:-c
a1000a2000a3,c10000c3
ObservabilityMatrix⁡sys3
c10000c3a1⁢c10000a3⁢c3a12⁢c10000a32⁢c3
See Also
DynamicSystems[ControllabilityMatrix]
DynamicSystems[Controllable]
DynamicSystems[Grammians]
DynamicSystems[Observable]
DynamicSystems[SSTransformation]
Download Help Document