⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cntrable.m

📁 市面上电力系统的范例 直得收藏学习的ㄧ本书
💻 M
字号:
function  S = cntrable(A,B)
%  H. Saadat 1998
clc
% discr=[
%' The  function S=cntrable(A,B) returns the transformation matrix  '
%' S = [B AB A^2B . . . A^(n-1)B].  The system is completely state  '
%' controllable if and only if S has a rank of n.                   '
%'                                                                  '];
n=length(A);
  for i=1:n;
  S(:,n+1-i) = A^(n-i)*B;
  end
  if rank(S)~=n
  disp('System is not state controllable')
  else
  disp('System is state controllable')
  end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -