Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Interpolation of 3D scattered data to 3D scattered data

132 views
Skip to first unread message

Stefan Wenk

unread,
Mar 10, 2012, 12:00:27 PM3/10/12
to
Hey all,

I've a question concerning 3D interpolation of scattered data. Is there a convenient way in Matlab to interpolate function values defined at 3D scattered points to a new set of 3D scattered points?
Till now I interpolate the starting dataset to a regular grid using griddatan. Then I interpolate to the new set of scattered date using interp3. Thats kind of laborious and I'm losing data accuracy.

Any suggestion would be appreciated!
Thanks,
Stefan

Stefan Wenk

unread,
Mar 10, 2012, 12:01:29 PM3/10/12
to

Bruno Luong

unread,
Mar 11, 2012, 4:28:13 AM3/11/12
to
"Stefan Wenk" wrote in message <jjg1bb$sbh$1...@newscl01ah.mathworks.com>...
> Hey all,
>
> I've a question concerning 3D interpolation of scattered data. Is there a convenient way in Matlab to interpolate function values defined at 3D scattered points to a new set of 3D scattered points?
> Till now I interpolate the starting dataset to a regular grid using griddatan. Then I interpolate to the new set of scattered date using interp3. Thats kind of laborious and I'm losing data accuracy.

Why the need of calling in cascade? GRIDDATA3 (and GRIDDATAN) can handle scattered data as input, there is no restriction whatever on the output for both GRIDDATA3 and INTERNP3.

Calling GRIDDATA3 will interpolate directly from scattered data to scattered data.

Bruno

Steven_Lord

unread,
Mar 12, 2012, 10:20:01 AM3/12/12
to


"Stefan Wenk" <we...@geophysik.uni-muenchen.de> wrote in message
news:jjg1bb$sbh$1...@newscl01ah.mathworks.com...
> Hey all,
>
> I've a question concerning 3D interpolation of scattered data. Is there a
> convenient way in Matlab to interpolate function values defined at 3D
> scattered points to a new set of 3D scattered points?

Use TriScatteredInterp.

http://www.mathworks.com/help/techdoc/ref/triscatteredinterp.html

--
Steve Lord
sl...@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

0 new messages