<< obsv | Control System functions | ord2 >> |
[Abar, Bbar, Cbar, T, k] = obsvf(A, B, C) |
[Abar, Bbar, Cbar, T, k] = obsvf(A, B, C, tol) |
State matrix: Nx-by-Nx matrix
Input-to-state matrix: Nx-by-Nu matrix
Output-to-state matrix: Ny-by-Nx matrix
scalar real (tolerance).
Observability staircase state matrix.
Observability staircase input matrix.
Observability staircase output matrix.
Similarity transform matrix.
Vector: number of observable states.
obsvf(A, B, C) decomposes the given state-space system, characterized by matrices A, B, and C, into the observability staircase form, resulting in transformed matrices Abar, Bbar, and Cbar.
It also provides a similarity transformation matrix T and a vector k.
The length of vector k corresponds to the number of states in A, and each entry in k signifies the number of observable states factored out at each step of the transformation matrix computation.
The non-zero elements in k indicate the number of iterations needed for T calculation, and the sum of k represents the number of states in Ao, the observable portion of Abar.
A = [-1.5 -0.5; 1 0];
B = [0.5; 0];
C = [0 1];
[Abar, Bbar, Cbar, T, k] = obsvf(A, B, C)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET