I would like to fit a curve to my data using MATLAB. The data contains replicate data from different observations. So the response data is an array rather than a vector. Does anybody know how I can use MATLAB to fit a curve to my data set. I would like the function consider all the observations (array) when fits the curve.
Thank you in advance.