?? obsvable.m
字號:
function V = obsvable(A,C)
% H. Saadat, 1998
clc
% discr=[
%' The function V=obsvable(A,C) returns the transformation matrix '
%' V = [C; CA; CA^2; . . . CA^(n-1)]. The system is completely state'
%' observable if and only if V has a rank of n. '
%' '];
%disp(discr)
n=length(A);
for i=1:n;
V(n+1-i,:) = C*A^(n-i);
end
if rank(V)~=n
disp('System is not state observable')
else
disp('System is state observable')
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -