MATLAB Answers

cftool and hyperdimensional data

조회 수: 22(최근 30일)
Clay Fulcher
Clay Fulcher 14 Jan 2021
댓글: Clay Fulcher 14 Jan 2021
Does anyone know if cftool can handle fits of data with more than 3 dimensions? i.e., hyperdimensional surface fits? Thanks in advance.

  댓글 수: 0

댓글을 달려면 로그인하십시오.

채택된 답변

Matt J
Matt J 14 Jan 2021
편집: Matt J 14 Jan 2021

  댓글 수: 3

Clay Fulcher
Clay Fulcher 14 Jan 2021
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 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.
Clay Fulcher
Clay Fulcher 14 Jan 2021
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.

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by