Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
![]() |
#1 |
初级会员
注册日期: 2010-12-17
帖子: 1
声望力: 0 ![]() |
![]()
附件中是我拟合的三个M文件 但是运行过程中总是提示
User supplied function failed with the following error: Error using ==> plus Matrix dimensions must agree. Error in ==> lsqcurvefit at 149 [x,Resnorm,FVAL,EXITFLAG,OUTPUT,LAMBDA,JACOB] = ... Error in ==> data_fitting at 24 Estimates = lsqcurvefit(@fun_linear_ext_origin,param0,c_e,q_e,[0.0 0.0 0.0]',[50.0 100.0 1]'); 我检查了也没查出是哪里的matrix dimensions not agree 所以想问一下到底是什么原因呢 谢谢了啊 |
![]() |
![]() |