How to fit a Gaussian considering parameter bound limits and weight?
1 次查看(过去 30 天)
显示 更早的评论
I have
and x and I want to fit it with a Gaussian. I have been using weighted 'fitnlm' for this purpose, but now I also want to fix the upper and lower limit of the fit parameters. I have read that the boundation is possible only with LSQCURVEFIT but at the same time this is not capable of weigh the y values.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/269616/image.png)
Is there any method so that I can weigh the y values as well as bound the resulting parameters together?
(is there any such update on fitnlm?)
Thanks you.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!