Parameters obtained using lsqcurvefit results in complex numbers.
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi. I tried to fit simultaneous ODE using lsqcurvefit. Code works well and provide parameters. But parameters are coming as complex number. In my case parameters must be real number. How to restrict parameters to real numbers using lsqcurvefit?
7 commentaires
Torsten
le 3 Juil 2019
But note that by this trick, the results of your ODEs might have changed compared to the original ODE without the abs().
Réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!