问题描述
我的问题是我的传输函数矩阵的大小是6个输出和3个输入(即一个输入有6个输出,第二个输入有6个输出,第三个输入有6个输出) 我在outputvar中收到信号数量不一致的错误。
Wp=minreal(ss(tf([0.5 0.05],[1 1e-6])*eye(2)));
Wi=minreal(ss(tf([1 0.2],[0.5 1])*eye(2)));
请帮助我应用sysic命令。代码在下面。
systemnames='G Wp Wi'; % defines the models used
inputvar='[udelta(3);w(3);u(3)]'; % defines the sizes and names of the input
% signals
outputvar='[Wi;Wp;-G-w]'; % defines the names of the output signals
input_to_G='[u+udelta]'; % defines the signals fed to the process model (G)
input_to_Wp='[G+w]'; % defines the signals fed to the performance weighting
% model
input_to_Wi='[u]'; % defines the signals fed to the input uncertainty
% weighting model
sysoutname='P'; % defines the resulting model name
cleanupsysic='yes'; % toggles whether the above variables are cleared after
sysic;
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)