How to curve fit 4D data?

5 views (last 30 days)
Luis Meneses
Luis Meneses on 2 May 2015
Answered: Matt J on 2 May 2015
Hello :D
I am using Surface fitting toolbox to curve fit 3 dimesional data. Until now, I have 3 variables (X, Y and Z), and i can fit with no problems, and avaliate the goodnes of fit.
But now, I need to put there one more variable (T), and will be 4 dimensional. Any ideia how to fit that to obtain a mathematical expression, and avaliate the goodnes of fit?
My Matlab is R2011a
Thank you

Accepted Answer

Matt J
Matt J on 2 May 2015
I don't think you can do it using the Curve Fitting Toolbox, but there is no such limitation on lsqcurvefit in the Optimization Toolbox. Goodness of fit metrics are not directly given, but you can compute them yourself using the residuals and Jacobian returned by lsqcurvefit.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!