Surface Fitting data from multiple curves

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

 Accepted 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 !

More Answers (0)

Categories

Products

Release

R2019b

Community Treasure Hunt

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

Start Hunting!