数学建模社区-数学中国

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

作者: 八千里路    时间: 2012-7-2 23:54
标题: 有没有matlab最新教程啊
>> c=[-5,4,2];! F& E+ O6 ]9 E0 Y* P
a=[6,-1,1;1,2,4];
- L4 M3 h% q( xb=[8,10];4 _6 X# t. d+ H4 j- J
vlb=[-1,0,0];
8 A9 F. k# a' a  vvub=[3,2];7 ]2 o& i6 I8 k8 v  T1 ]  V8 U1 ]1 h  I5 V
[x,lam]=lp(c,a,b,vlb,vub)8 S$ s$ d& `. x; H2 C& G
??? Undefined function or method 'lp' for input arguments of type 'double'.( a& Y) w7 W) O1 b, p2 {. W& I( X
! q+ G# Q- V0 M" O( Q
>> [x,lam]=linprog(c,a,b,vlb,vub)/ _  z* x( D# ^' \# X
??? Error using ==> linprog at 192
5 H8 J6 Z; B/ e. X9 oThe number of rows in Aeq must be the same as the length of beq.( N& s( B3 a8 U. _9 ]' N0 b* |: w
这个错误的程序咋纠正啊,急急急急!
1 k4 s( f3 Y3 g* N注:用的是matlab2010b
作者: life段会    时间: 2013-9-1 19:21

! v, s5 s& {  S8 E' ]  o素素学习!!!
作者: life段会    时间: 2013-9-1 19:21
  C8 a, c9 Y( M4 ]5 r
素素学习!!!
作者: 宇、宙。    时间: 2013-9-3 10:28
看不明白哎




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