cftool and hyperdimensional data

Does anyone know if cftool can handle fits of data with more than 3 dimensions? i.e., hyperdimensional surface fits? Thanks in advance.

 Accepted Answer

Matt J
Matt J on 14 Jan 2021
Edited: Matt J on 14 Jan 2021

3 Comments

Thanks Matt for your fast reply. lsqcurvefit looks to be set up like fmincon, which I am familiar with. To use lsqcurvefit, would I need to define the spline fitting algorithm in the objective function myself? Or is there a pre-packaged spline fit similar to "thin-plate spline" used in cftool that I can use with lsqcurvefit?
Matt J
Matt J on 14 Jan 2021
Edited: Matt J on 14 Jan 2021
You haven't mentioned anything about splines in your original post, so I don't know where it fits into anything...
You need to supply a function which generates the hypersurface for any guess of the parameters.
Ok, thanks. That's what it seemed to me. Yes, this data does not fit any kind of closed-form model that I can think of very well. I've been using the cftool interpolation option for this data, and the "thin-plate" spline does a decent job. One day I'll try to write a hyperdimensional spline fitter, but I'm in kind of a hurry. Thanks for your help.

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2020a

Asked:

on 14 Jan 2021

Commented:

on 14 Jan 2021

Community Treasure Hunt

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

Start Hunting!