How to get a smooth elevation topography data in matlab?

Hello, help~~~~ I'm new to Matlab. So the question may be simple for you guys, but it haunts me for one month.
I want to have Some kind of data (or a function I don't know how to call it), that when I type in any x-y coordination, it gives a elevation value.
It is like a contour, but smooth. It is the best to be a real-world data, but the artificial one is OK for me too.
Many Thanks!!!!!

Answers (1)

Try TriScatteredInterp(), or the newer griddedInterpolant class.

Categories

Find more on Geology in Help Center and File Exchange

Asked:

on 31 Jul 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!