Filter löschen
Filter löschen

Help with data-fitting using lsqcurvefit and MultiStart

5 Ansichten (letzte 30 Tage)
Nik
Nik am 31 Jul. 2017
Beantwortet: Chris Perkins am 9 Aug. 2017
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?

Antworten (1)

Chris Perkins
Chris Perkins am 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

Kategorien

Mehr zu Global or Multiple Starting Point Search finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by