| 查看: 1272 | 回复: 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客户端 |
» 猜你喜欢
HXDI做水性聚氨酯乳液,是不是特别容易出渣
已经有3人回复
小木虫看见有人已经知道结果了
已经有19人回复
2026年国自然面上资助率
已经有8人回复
系统今天又提示维护了,估计离放榜不远了
已经有15人回复
微信指数没变化,科研之友没阅读
已经有17人回复
申请2027年材料/化学类博士
已经有5人回复
你们的时间戳变了吗
已经有4人回复
今年的WR进展到哪一步了?
已经有9人回复
产物和副产物价值比较
已经有5人回复
时间戳他又来了
已经有17人回复

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










回复此楼