Hi, I think since fminsearch is a derivativ-free method, it cannot calculate the uncertainty of answer. You can use lsqcruvefit or lsqnonlin depending on the structure of xdata and ydata.
Uncertainty
9 次查看(过去 30 天)
显示 更早的评论
Hi
How can we get uncertainty in parameters when we use fminsearch for fitting? Is there any routine to compute this by having the residuals?
Thanks for any help, Nick
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Nonlinear Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!