马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
我要用hinfsyn命令设计一个H无穷控制器,命令如下:
[k,g,gfin,ax,ay,hamx,hamy] =hinfsyn(p,1,1,0,10,0.0001,1).主要是控制对象P怎么输入?
p=(a;b1 b2;c1 d11 d12;c2 d21 d22)的形式.
我输入的不对,matlab提醒我不是system matrix.
请问如何正确输入p?下面是我的p:
a=[0,0,0,0,0,0,1,0,0,0,0,0;
0,0,0,0,0,0,0,1,0,0,0,0;
0,0,0,0,0,0,0,0,1,0,0,0;
0,0,0,0,0,0,0,0,0,1,0,0;
0,0,0,0,0,0,0,0,0,0,1,0;
0,0,0,0,0,0,0,0,0,0,0,1;
-17910.47,0,0,0,0,0,-0.80298,0,0,0,0,0;
0,-234623.98,0,0,0,0,0,-2.90628,0,0,0,0;
0,0,-1138702.41,0,0,0,0,0,-6.4026,0,0,0;
0,0,0,-3543306.28,0,0,0,0,0,-11.2942,0,0;
0,0,0,0,0,-8587478.59,0,0,0,0,-17.5826,0;
0,0,0,0,0,-17735131.92,0,0,0,0,0,-25.2679];
b1=[0;0;0;0;0;0;-1.44e-6;-1.09e-5;-3.68e-5;-8.7e-5;-1.7e-4;-2.95e-4];
b2=b1;
c1=[1,0,0,0,0,0,0,0,0,0,0,0;0,1,0,0,0,0,0,0,0,0,0,0;0,0,1,0,0,0,0,0,0,0,0,0;0,0,0,1,0,0,0,0,0,0,0,0;0,0,0,0,1,0,0,0,0,0,0,0;0,0,0,0,0,1,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0,0,0];
c2=[-29.92,-227.37,-765.88,-1818.95,-3548.16,-6132.99,0,0,0,0,0,0];
d11=[0;0;0;0;0;0;0;0;0;0;0;0;0.78e-8;0;0];
d12=[0;0;0;0;0;0;0;0;0;0;0;0;0.78e-8;1.2e-2;4.78e-007];
d21=0.033;
d22=0.033; |