I have a function that can be written as following:
[y1, y2] = function(x1,x2,a,b)
And I have some experimental data, is there any function in MATLAB that can help me in the fitting procedure? The function is non-linear and it is defined in an external file (matlab function). I have some experimental data that, given x1 and x2, provides the outputs y1 and y2. I only have to determine the parameters "a" and "b".
I've tried using the curve fitting app, but it works only for single-output function. Same holds for the "fit" MATLAB function.