数学建模社区-数学中国

标题: 有没有matlab最新教程啊 [打印本页]

作者: 八千里路    时间: 2012-7-2 23:54
标题: 有没有matlab最新教程啊
>> c=[-5,4,2];6 N3 I$ ?& q( p4 t
a=[6,-1,1;1,2,4];
6 y0 M, V$ L) A% x9 db=[8,10];
2 q7 J$ e2 x6 z; ?vlb=[-1,0,0];
2 I% G% \* \* Z& d: C" ivub=[3,2];
/ ]* U7 u% e5 G8 _; q1 n* t4 c. c[x,lam]=lp(c,a,b,vlb,vub)
" [1 M7 y0 p6 T/ `) N" s5 V# h  k??? Undefined function or method 'lp' for input arguments of type 'double'./ \; u2 C- V8 p6 G" m+ o

1 m0 E3 V: E, |. ?5 a>> [x,lam]=linprog(c,a,b,vlb,vub)" [5 r# ?$ }: E& w, @2 T  P6 p
??? Error using ==> linprog at 1923 j+ i1 K* S* K# \$ b$ b/ `
The number of rows in Aeq must be the same as the length of beq.. V) W  @$ G' W9 k9 F2 G
这个错误的程序咋纠正啊,急急急急!6 A1 s% T5 K& Y; k/ y2 s
注:用的是matlab2010b
作者: life段会    时间: 2013-9-1 19:21

$ r2 M7 s9 z) V$ @% O0 c% ^素素学习!!!
作者: life段会    时间: 2013-9-1 19:21

3 \4 S6 l/ L3 a: K素素学习!!!
作者: 宇、宙。    时间: 2013-9-3 10:28
看不明白哎




欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) Powered by Discuz! X2.5