标题: 有没有matlab最新教程啊 [打印本页] 作者: 八千里路 时间: 2012-7-2 23:54 标题: 有没有matlab最新教程啊 >> c=[-5,4,2]; 6 ?( r; o) N9 c& u0 @a=[6,-1,1;1,2,4]; ' Y0 r2 O; ]. E- y* b$ u+ {& tb=[8,10]; 6 p6 q1 J2 v: E; Pvlb=[-1,0,0];7 j4 q6 A8 T1 F5 i) b. ?; k
vub=[3,2]; ( {: x: T. O4 T5 q W$ _[x,lam]=lp(c,a,b,vlb,vub)6 ?* E! m0 w6 F+ h, B
??? Undefined function or method 'lp' for input arguments of type 'double'.% w0 G1 ^# k6 o9 j% B2 z
& q, r u+ X% k* u& f>> [x,lam]=linprog(c,a,b,vlb,vub)( Q3 \# f& C% h1 g `- b3 g
??? Error using ==> linprog at 192( ^( P/ n2 V" G+ S
The number of rows in Aeq must be the same as the length of beq. 0 N1 J" S3 P3 Z, v4 @0 @. C& g这个错误的程序咋纠正啊,急急急急! % D* N% ~4 L' O, e注:用的是matlab2010b作者: life段会 时间: 2013-9-1 19:21