Effacer les filtres
Effacer les filtres

multiple fitting with lsqcurvefit

1 vue (au cours des 30 derniers jours)
Nayoung Kim
Nayoung Kim le 17 Jan 2017
I want to fit multiple curve with lsqcurvefit function
there are 4 fitting functions F1,F2,F3,F4
and Xdata is common, but different Ydata (Y1, Y2, Y3, Y4).
The parameters are common (total 6 parameters : beta1, beta2, ... , beta6)
How can I fit those 4 curves simultaneously with lsqcurvefit function?
The function may not be lsqcurvefit, but I want to set lower and upper bounds for the parameters.

Réponses (1)

Star Strider
Star Strider le 17 Jan 2017
That is probably straightforward to do. It would help if we could have your data and equations. You can post your equations here Please highlight them and format them with the [{}Code] button. Use the save function to create a ‘.mat’ file of your data, then attach it here using the ‘paperclip’ icon.
The lsqcurvefit function is the correct choice for this problem.

Community Treasure Hunt

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

Start Hunting!

Translated by