control.matlab.obsv¶
- control.matlab.obsv(A, C)[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
- Returns
O – Observability matrix
- Return type
2D array (or matrix)
Notes
The return type for 2D arrays depends on the default class set for state space operations. See
use_numpy_matrix()
.Examples
>>> G = ct.tf2ss([1], [1, 2, 3]) >>> C = ct.obsv(G.A, G.C) >>> np.linalg.matrix_rank(C) 2