obsv
📝 Syntax
📥 Input argument
📤 Output argument
📄 Description
💡 Example
🔗 See also
🕔 History
Version
📄 Description
Last updated
Last updated
% Define the system matrices
A = [1 2; 3 4];
C = [7 8];
% Check observability using obsv function
O = obsv(A, C);
% Display the observability matrix
disp('Observability matrix:');
disp(O);
% Check if the system is observable
if rank(O) == size(A, 1)
disp('The system is observable.');
else
disp('The system is not observable.');
end