How do I implement multistart with lsqnonlin in my code?

2 vues (au cours des 30 derniers jours)
Yi Peng Biao
Yi Peng Biao le 10 Août 2022
Modifié(e) : Bruno Luong le 10 Août 2022
I'm trying to find the parameter to describe the tansport of a chemical. I used lsqnonlin to find the value, but it returns the initial value. Hence, I wondered that if multistart can solve my problem.
The attachments are the data I used, and my code......

Réponses (1)

Bruno Luong
Bruno Luong le 10 Août 2022
Modifié(e) : Bruno Luong le 10 Août 2022
"it returns the initial value"
It indicates that the fit fails, not problem of wrong stating points (converge to local minima).

Catégories

En savoir plus sur Chemistry dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by