登录论坛

查看完整版本 : [求助]请求解决fmincon函数遇到的问题


jackwen
2008-11-27, 20:42
那位大侠能帮小弟看看,在运行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
那就是说你的循环次数超过了矩阵的行数或者列数,你检查一下矩阵吧。我也是刚学,呵呵。也遇到过这样的问题。希望对你有所帮助

jackwen
2008-12-02, 21:18
谢谢楼上的兄弟,我的问题解决了。