如何解决MIMO系统的系统命令MATLAB中的错误
我的问题是我的传输函数矩阵的大小是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 举报,一经查实,本站将立刻删除。