multiple fitting with lsqcurvefit

3 views (last 30 days)
Nayoung Kim
Nayoung Kim on 17 Jan 2017
Answered: Star Strider on 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.

Answers (1)

Star Strider
Star Strider on 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.

Categories

Find more on Interpolation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!