Help with data-fitting using lsqcurvefit and MultiStart

5 次查看(过去 30 天)
I currently have a GUI that takes plots the intensity of experimental videos. The data follows a logistic curve for the most part. I'm trying to find two parameters using lsqcurvefit, and this works for the majority of the videos. However, certain plots have curves that are significantly worse than other similar videos. Would using MultiStart possibly help with the fit? So far the results are almost identical to the function without MultiStart. Do you have any recommendations about how I could be using MultiStart?

回答(1 个)

Chris Perkins
Chris Perkins 2017-8-9
"MultiStart" can help improve results. It works to find a global minimum, rather than a local minimum, so when "lsqcurvefit" finds a local minimum then "MultiStart" certainly could improve results - how much depends on how good of a local minimum "lsqcurvefit" found.
To learn more about how to integrate "MultiStart" into "lsqcurvefit", see the following article: https://www.mathworks.com/help/gads/multistart-using-lsqcurvefit-or-lsqnonlin.html
The function "GlobalSearch" is somewhat similar to "MultiStart", and depending on your application you may want to look into "GlobalSearch" as well. See the following article for a description of both "MultiStart" and "GlobalSearch", including how they differ: https://www.mathworks.com/help/gads/how-globalsearch-and-multistart-work.html

类别

Help CenterFile Exchange 中查找有关 Global or Multiple Starting Point Search 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by