lsqcurvefit - initial condition

7 visualizzazioni (ultimi 30 giorni)
Sana KHALED
Sana KHALED il 2 Ott 2022
Commentato: Star Strider il 3 Ott 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.

Risposta accettata

Star Strider
Star Strider il 2 Ott 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 Commenti
Sana KHALED
Sana KHALED il 3 Ott 2022
Thank you for ur answer, will try this.
Star Strider
Star Strider il 3 Ott 2022
As always, my pleasure!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Downloads in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by