lsqcurvefit - initial condition

조회 수: 7 (최근 30일)
Sana KHALED
Sana KHALED 2022년 10월 2일
댓글: Star Strider 2022년 10월 3일
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.

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by