From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: 2d data interpolation
Date: Thu, 29 Nov 2012 15:21:09 +0000 (UTC)
Organization: University of Bern
Lines: 8
Message-ID: <k97uh5$9t7$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1354202469 10151 (29 Nov 2012 15:21:09 GMT)
NNTP-Posting-Date: Thu, 29 Nov 2012 15:21:09 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3720449
Xref: comp.soft-sys.matlab:783803

I have a problem with the function interp2: I have a matrx 100x3 where the first column is the x-coordinate, the second column is the y-coordinate and the third column is the value at the coordinates x and y.
I would like to interpolate those values with a grid 600x600 but the x and y coordinates are not monotonic vectors and interp2 gives me an error.

Can anyone help me?

Many thanks