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?
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.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
댓글 수: 0
댓글을 달려면 로그인하십시오.