MATLAB: Surface Fitting data from multiple curves

cftoolcurvecurve fittingMATLABsftoolsurface fitting

I have a 94×6 matrix ,A. And 1×6 matrix, C.
I'd like to fit this to another 94×6 matrix B using an multi variable equation, But how?
I get errors in cftool that data is not compatible to fit.

Best Answer

I found the answer!
i used repmat(C,[94,1]) to replicate the array in a repeating form to a matrix and then the cftool worked !