How to curve fit 4D data?

65 views (last 30 days)
Luis Meneses
Luis Meneses on 27 Apr 2015
Commented: Luis Meneses 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?
Thank you

Accepted Answer

Ahmet Cecen
Ahmet Cecen on 27 Apr 2015
If your curves will be polynomials, try my FEX function MultiPolyRegress. It also provides a fairly rich set of goodness of fit measures.

More Answers (1)

Sean de Wolski
Sean de Wolski on 27 Apr 2015
Statistics Toolbox provides fitnlm which will fit in N-D for you.
  3 Comments
Sean de Wolski
Sean de Wolski on 28 Apr 2015
These are newer functions that provide similar functionality to nlinfit or mvregress
Luis Meneses
Luis Meneses on 2 May 2015
I have matlab R2011a, how can i do with this version?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!