How do I set constraints on curve fitting?
Ältere Kommentare anzeigen
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 Kommentar
Matt J
am 10 Dez. 2014
What StartPoint are you using? Try one with a*b+c*d>0.
Antworten (0)
Kategorien
Mehr zu Interpolation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!