control.matlab.obsv
- control.matlab.obsv(A, C, t=None)[source]
Observability matrix.
- Parameters
A (array_like or string) – Dynamics and output matrix of the system
C (array_like or string) – Dynamics and output matrix of the system
t (None or integer) – maximum time horizon of the controllability matrix, max = A.shape[0]
- Returns
O – Observability matrix
- Return type
2D array (or matrix)
Examples
>>> G = ct.tf2ss([1], [1, 2, 3]) >>> C = ct.obsv(G.A, G.C) >>> np.linalg.matrix_rank(C) np.int64(2)