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

 채택된 답변

Matt J
Matt J 2021년 1월 14일
편집: Matt J 2021년 1월 14일

1 개 추천

댓글 수: 3

Clay Fulcher
Clay Fulcher 2021년 1월 14일
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 2021년 1월 14일
편집: Matt J 2021년 1월 14일
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 2021년 1월 14일
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개)

카테고리

도움말 센터File Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2021년 1월 14일

댓글:

2021년 1월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by