阿巴拉
2010-12-17, 14:12
附件中是我拟合的三个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
所以想问一下到底是什么原因呢 谢谢了啊
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
所以想问一下到底是什么原因呢 谢谢了啊