using least square fit to find the best fit parameters
2 次查看(过去 30 天)
显示 更早的评论
I have 3 variables y, x1, and x2 stored in vector form. I know that y=f(x1,x2) and has the form y = a*b*x1/(1+b*x1+c*x2) + d*x1. a,b,c, and d are parameters. How can I use lsqnonlin to find a,b,c,d?
Thank you
5 个评论
Rik
2020-2-26
You could try with a different fitting function or with different initial guesses. Those two will only help if your function properly describes the trend in your data and if your data isn't noisy in the first place.
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!