数学建模社区-数学中国
标题:
有没有matlab最新教程啊
[打印本页]
作者:
八千里路
时间:
2012-7-2 23:54
标题:
有没有matlab最新教程啊
>> c=[-5,4,2];
8 H' B8 U$ j7 E/ ]" N- e, W
a=[6,-1,1;1,2,4];
- g w6 }, G9 Z. l, O
b=[8,10];
2 @! Y/ \. p; e) z, y
vlb=[-1,0,0];
" i1 f9 P1 l- t2 u
vub=[3,2];
! S, w! e5 P4 t# Z l$ \
[x,lam]=lp(c,a,b,vlb,vub)
* R+ j( O r" w2 }+ I8 [
??? Undefined function or method 'lp' for input arguments of type 'double'.
$ L1 |& }' r- i* d7 \; e- ]
+ G7 J5 d: E; I) k: p
>> [x,lam]=linprog(c,a,b,vlb,vub)
( c3 ^2 N- o0 L' G
??? Error using ==> linprog at 192
+ h; h1 M$ e! E% d; K' t
The number of rows in Aeq must be the same as the length of beq.
) l4 u/ K" `4 P Q4 R8 L
这个错误的程序咋纠正啊,急急急急!
$ {' a9 y& V7 n4 u# M1 \. \
注:用的是matlab2010b
作者:
life段会
时间:
2013-9-1 19:21
- u& R3 B" F' x: F* N
素素学习!!!
作者:
life段会
时间:
2013-9-1 19:21
. n S* V" g9 B: n# ~
素素学习!!!
作者:
宇、宙。
时间:
2013-9-3 10:28
看不明白哎
欢迎光临 数学建模社区-数学中国 (http://www.madio.net/)
Powered by Discuz! X2.5