| 查看: 1100 | 回复: 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客户端 |
» 猜你喜欢
全日制(定向)博士
已经有5人回复
假如你的研究生提出不合理要求
已经有10人回复
萌生出自己或许不适合搞科研的想法,现在跑or等等看?
已经有4人回复
Materials Today Chemistry审稿周期
已经有4人回复
参与限项
已经有3人回复
实验室接单子
已经有4人回复
对氯苯硼酸纯化
已经有3人回复
求助:我三月中下旬出站,青基依托单位怎么办?
已经有12人回复
所感
已经有4人回复
要不要辞职读博?
已经有7人回复

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












回复此楼