How do I set constraints on curve fitting?
Afficher commentaires plus anciens
hello,
I have a set of data that I would like to fit with a double exponential function (type 'exp2'). However I have very few points at the beginning and sometimes the fitting is not done properly. See image below for illustration:

On the bottom graph the fitting performed by Matlab is according to me correct. On the top graph however the first points are ignored. I insist on the fact that I have used the SAME function to fit both sets of data (the 'exp2'). If you have a solution to my problem I would be very grateful.
1 commentaire
Matt J
le 10 Déc 2014
What StartPoint are you using? Try one with a*b+c*d>0.
Réponses (0)
Catégories
En savoir plus sur Interpolation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!