MATLAB Answers

Donald Hume

4D regression

Asked by Donald Hume
on 21 Sep 2011


    I have a data set (ie a = f(x,y,z)). I'm trying apply a regression to it, but all I can seem to find are articles fitting z = f(x,y). Could someone please point me at a relevant article, I believe I'm having difficulties because of my incorrect regression vernacular. Any suggestions are appreciated. 



Log in to comment.



No products are associated with this question.

2 Answers

the cyclist
Answer by the cyclist
on 21 Sep 2011
 Accepted answer

This is typically known as either "multiple regression" or "multivariate regression". That should help you find resources online. You can use the regress() function to do it in MATLAB.

  1 Comment

Donald Hume
on 21 Sep 2011

Great, thanks.

Log in to comment.

Answer by Sean de Wolski
on 21 Sep 2011

Is it a polynomial you're looking for? If so - write out the equations and then put them in matrix form and solve them using ax=b. We can help more if you give us significantly more information.


Log in to comment.

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!