Path: news.mathworks.com!not-for-mail
From: "Nicolas Guillemette" <nico_guillemette@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: polyfit in 3D
Date: Sun, 4 May 2008 19:12:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <fvl1q3$8sv$1@fred.mathworks.com>
Reply-To: "Nicolas Guillemette" <nico_guillemette@hotmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1209928323 9119 172.30.248.35 (4 May 2008 19:12:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 4 May 2008 19:12:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1375672
Xref: news.mathworks.com comp.soft-sys.matlab:466546



I'm looking for a function that finds the coefficients of a 
polynomial of degree n that fits the data of a three 
dimensional set of variables. I have X, Y and Z vectors and 
I want to fit a plan (not a curve)on XY plan ?

How can I proceed ?


Thx

Nicolas Guillemette