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

📄 mimo1sen.m

📁 Software for design and tuninig of SISO and MIMO contol systems
💻 M
字号:
function f=mimo1sen(x,y,E,sign,w,ps,ms,qs,order,row,col,input_delay,pds,qds)
% Sensitivity function for the MIMO system
% Xwc_ub_w Xwc_lb_w are the upper and lower bound tables
% with a structure Xwc_ub_w{i,j}= matrix of many rows of [magnitude w x] 
% global Xwc_ub_w Xwc_lb_w
if iscell(E)
   e=E{1};
end
s=sqrt(-1)*w;
n=length(order);
for i=1:n
   filter(i)=1/(e(i)*s+1)^order(i);
end
filter=diag(filter);
q=inv(eval(qs))*filter;
m=eval(ms);
p=eval(ps);
pd=eval(pds);
if any(input_delay~=0)
    for i=1:n
        delay(i)=exp(-input_delay(i)*s);
    end
    delay=diag(delay);
    m=m*delay;
    p=p*delay;
end
temp=abs((eye(n)-m*q)*inv(eye(n)+(p-m)*q)*pd);
f=sign*temp(row,col);

⌨️ 快捷键说明

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