MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]请求解决fmincon函数遇到的问题 (https://www.labfans.com/bbs/showthread.php?t=5513)

jackwen 2008-11-27 20:42

[求助]请求解决fmincon函数遇到的问题
 
那位大侠能帮小弟看看,在运行fmincon函数时候出现下面问题,Index exceeds matrix imensions.是什么意思啊?怎样修改,急啊,非常感谢了~~:confused:
FMINCON cannot continue because user supplied nonlinear constraint function
failed with the following error:
Index exceeds matrix dimensions.

wtomanager 2008-11-29 10:26

回复: [求助]请求解决fmincon函数遇到的问题
 
那就是说你的循环次数超过了矩阵的行数或者列数,你检查一下矩阵吧。我也是刚学,呵呵。也遇到过这样的问题。希望对你有所帮助

jackwen 2008-12-02 21:18

回复: [求助]请求解决fmincon函数遇到的问题
 
谢谢楼上的兄弟,我的问题解决了。


所有时间均为北京时间。现在的时间是 08:13

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.