Help with data-fitting using lsqcurvefit and MultiStart

6 ビュー (過去 30 日間)
Nik 2017 年 7 月 31 日
回答済み: Chris Perkins 2017 年 8 月 9 日
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:
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:


Find more on Global or Multiple Starting Point Search in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by