Fitting Modell for Multiple Datasets with Shared Parameters (global) and Dataset dependent Parameters (local) using lsqnonlin.

Hello everyone,
I want to fit multiple Experimental-Datasets to one Model-Equation. For example: y=3*cos(b)+a*x+u+C; x is my Input variable. b and u are different for each Dataset while w should be the same for each dataset.These 3 parameters should be fitted. C is different for each dataset but should not be fitted.
I tried to adept this solution (https://de.mathworks.com/matlabcentral/answers/1056-nonlinear-fit-to-multiple-data-sets-with-shared-parameters#comment_409777) but i failed.
So it would be very kind if someone could help me with this task.
Looking forward for some answers and thank you guys for your help!

Réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by