lsqcurvefit - initial condition

3 vues (au cours des 30 derniers jours)
Sana KHALED
Sana KHALED le 2 Oct 2022
Commenté : Star Strider le 3 Oct 2022
Hi I would like to contact people using the optimization toolbox, specifically lsqcurvefit on matlab version 2022a.
Actually I have some experimental data and I am trying to combine the numerical results with the experimental points by determining new optimized parameters. Unfortunately, I do not get a good fit. Every time I change the initial conditions, the results change, and that's normal. But I would like to know if there is a more practical way to keep lsqcurvefit itself finding the correct result regardless of the initial conditions? Has anyone encountered the same issue?
Thank you in advance.

Réponse acceptée

Star Strider
Star Strider le 2 Oct 2022
The problem with nonlinear parameter estimation is that the results can be highly dependent on the initial parameter estimates. The best way to approach this is with Global Optimization Toolbox functions, if you have it. I particularly like the ga function, and I have also used Global or Multiple Starting Point Search approaches successfully. They will likely provide an optimal result.
  2 commentaires
Sana KHALED
Sana KHALED le 3 Oct 2022
Thank you for ur answer, will try this.
Star Strider
Star Strider le 3 Oct 2022
As always, my pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Downloads dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by