Re: how to form multiple regression equation using matlab



raj wrote:


hi, i have to create an quadratic equation using multiple
regression
technique and also the coefficient values in matlab with available
numerical values. the values consists of two inputs ( x1 =
a1,a2,a3,...... & x2 = b1,b2,b3,......) and output (y =
c1,c2,c3,.....). The equation may be in the following form
y = ß0 + ß1x1 + ß2 x1^2 + ß3x2 + ß4x2^2 where ß are the
regression coefficients
Kindly suggest the procedure in matlab for the above requirement.

Thanks in advance
n.kanagaraj

Polyfitn will fit any polynomial model of
your choosing in n-dimensions.

<http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=10065&objectType=FILE>

HTH,
John D'Errico
.



Relevant Pages


Loading