matlab的linprog函数
来源:学生作业帮 编辑:搜搜做题作业网作业帮 分类:综合作业 时间:2024/08/13 02:42:21
matlab的linprog函数
应用x=linprog(f1,A,[],[],Ib,ub)
运行时提示:The number of rows in A must be the same as the length of b.
我的A矩阵矩阵大小是28*96,b有28*1.
应用x=linprog(f1,A,[],[],Ib,ub)
运行时提示:The number of rows in A must be the same as the length of b.
我的A矩阵矩阵大小是28*96,b有28*1.
你没有写b啊?
x=linprog(f1,A,b,[],[],Ib,ub)
x=linprog(f1,A,b,[],[],Ib,ub)