From: Saurabh Srivastava on
Hi..
I have generated data set for a few plane with 3D coordinate (i.e x,y,z). Now I want to fit a continuous plane to these scattered data point. Can any one tell me how to do that. If you want I can give data point.

Thank you in Advance
From: Wayne King on
"Saurabh Srivastava" <saurabhsrvastav(a)yahoo.com> wrote in message <hlls56$d6n$1(a)fred.mathworks.com>...
> Hi..
> I have generated data set for a few plane with 3D coordinate (i.e x,y,z). Now I want to fit a continuous plane to these scattered data point. Can any one tell me how to do that. If you want I can give data point.
>
> Thank you in Advance

Hi, One option: if you have the Statistics Toolbox, you can use princomp() to fit a least squares plane to your data.

Wayne