| 查看: 1374 | 回复: 3 | ||
| 【悬赏金币】回答本帖问题,作者琳姑娘将赠送您 10 个金币 | ||
[求助]
MATLAB非线性方程回归中系统提示错误 已有1人参与
|
||
|
本人刚接触MATLAB做非线性回归拟合,运行结果中 系统会提示:lsqnonlin stopped because the final change in the sum of squares relative to its initial value is less than the default value of the function tolerance.? ? (相对平方和的最终变化的初始值小于该函数公差的默认值。) 不知是哪里出现问题了,大神们可否指点一下,先谢谢大家了! 发自小木虫Android客户端 |
» 猜你喜欢
越来越担心硕士毕业后没有竞争力了
已经有14人回复
论文的挂名怎么评判贡献?基金申请中,排名第一的挂名文章
已经有3人回复
申博自荐 2篇一区TOP+1篇EI+2公开发明专利 2027博士申请
已经有3人回复
闲聊
已经有6人回复
申博求助
已经有4人回复

2楼2021-03-18 16:21:39
|
x=[0;0.0909100000000000;0.148940000000000;0.230770000000000;0.272730000000000;0.310340000000000;0.400000000000000;0.500000000000000;0.571430000000000;0.666670000000000;0.800000000000000;1]; >> y=[0;0.399150000000000;0.558020000000000;0.597720000000000;0.637450000000000;0.697020000000000;0.776450000000000;0.849910000000000;0.883680000000000;0.925390000000000;0.935300000000000;0.984960000000000]; >> fun=@(p,x)(((x./p(3))./(1-(x./p(3))))+((p(1).*(x.^p(1)).*p(2)))./(1+x1.^p(1).*p(2))); >> x0=[1,7,10]; >> p=lsqcurvefit(fun,x0,x1,y) Local minimum possible. lsqcurvefit stopped because the final change in the sum of squares relative to its initial value is less than the default value of the function tolerance. 以上是我运行中的数据,方程以及出现的问题,麻烦您给看看是哪里除了问题,谢谢! |
3楼2021-03-18 16:57:10

4楼2021-03-18 20:11:38










回复此楼