Path: news.mathworks.com!not-for-mail
From: "us " <us@neurol.unizh.ch>
Newsgroups: comp.soft-sys.matlab
Subject: Re: two dimensional approximation - matlab
Date: Sat, 18 Aug 2007 21:23:27 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 19
Message-ID: <fa7o0f$9mt$1@fred.mathworks.com>
References: <1187446971.369530.229760@19g2000hsx.googlegroups.com>
Reply-To: "us " <us@neurol.unizh.ch>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1187472207 9949 172.30.248.38 (18 Aug 2007 21:23:27 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 18 Aug 2007 21:23:27 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:424433


sun:
<SNIP just some random fit, please...

> I would like to approximate two dimnesional data , z=f
(x,y) in matlab, not through a polynomial...

well, as it stands, this is a meaningless question: you 
don't show anything of anything (data? model? ...)...
anyhow, if you just want to mindlessly produce a <nice> 
surface from your data, look at

     help griddata;

-and- <john d'errico>'s seminal FEX contribution

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

us