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

 Akzeptierte Antwort

Ahmet Cecen
Ahmet Cecen am 27 Apr. 2015

2 Stimmen

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

Weitere Antworten (1)

Sean de Wolski
Sean de Wolski am 27 Apr. 2015

0 Stimmen

Statistics Toolbox provides fitnlm which will fit in N-D for you.

3 Kommentare

Ahmet Cecen
Ahmet Cecen am 28 Apr. 2015
Or fitlm apparently for linear regression. When did this function get implemented? Seems my function is becoming obsolete (at least for people with the toolbox), except for the LOOCV trick, which is simple enough to add, wonder why they haven't.
Sean de Wolski
Sean de Wolski am 28 Apr. 2015
These are newer functions that provide similar functionality to nlinfit or mvregress
Luis Meneses
Luis Meneses am 2 Mai 2015
I have matlab R2011a, how can i do with this version?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Linear and Nonlinear Regression finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by