- 积分
- 1
- 注册时间
- 2003-1-15
- 仿真币
-
- 最后登录
- 1970-1-1
|
请教各位高手,请一定要出手相救?
A、B、C、D系随机产生矩阵,函数[K,CL,GAM,INFO] = hinfsyn(P1,3,3) 中的P1矩阵用Ltisys函数装入得到,P1矩阵最后1列、行系使用函数ltisys是自动生成。
问题:错误提示的含义及如何解决。
P1=ltisys(A,B,C,D)
P1 =
-1.1720 -0.3983 0.9740 -0.4957 -0.1784 0.8156 -1.2020 0 -0.9219 5.0000
-0.9357 -2.0280 0.6747 -0.1589 0.7798 0.7119 -0.0198 1.4150 -2.1710 0
0.1601 0.9862 -1.2600 0.7080 -0.1301 0 0 -0.8051 -0.0592 0
-0.6266 -0.3690 0.3139 -1.6330 -1.2070 0 0 0.5287 -1.0110 0
-0.3019 0.8346 -0.1186 -1.1450 -2.0960 0 0.2573 0.2193 0.6145 0
0 0 -0.0195 -0.3179 0.4282 0.5779 0.5689 0 0.1184 0
1.6920 0.3803 0 1.0950 0.8956 0 -0.2556 -1.4750 0 0
0.5913 -1.0090 0 -1.8740 0 0 -0.3775 0 1.4440 0
0 0 0 0 0 0 0 0 0 -Inf
>> [K,CL,GAM,INFO] = hinfsyn(P1,3,3)
usage: [k,g,gfin] = hinfsyn(p,nmeas,ncon,gmin,gmax,tol,ricmethd,epr,epp)
??? Error using ==> hinfsyn at 137
incorrect number of input arguments
>> [K,CL,GAM,INFO] = hinfsyn(P1,2,3)
usage: [k,g,gfin] = hinfsyn(p,nmeas,ncon,gmin,gmax,tol,ricmethd,epr,epp)
??? Error using ==> hinfsyn at 137
incorrect number of input arguments |
|