Help with data-fitting using lsqcurvefit and MultiStart
5 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Chris Perkins
on 9 Aug 2017
"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
0 Comments
See Also
Categories
Find more on Global or Multiple Starting Point Search in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!