3d landscape from a few data points?

3d landscape from a few data points?

Post by patrick ho » Sun, 24 Oct 2010 04:35:04


Hi,

If the answer to this is too easy, do not fear -- it is probably right, i simply am brand brand new to MATLAB. All I need to do is make a 3d landscape model, just like this:

http://www.yqcomputer.com/

But with a few data points. For instance, I want peaks to be at 41,57,28,56,and 27.

Is that easy? Hard? I'm toying with mesh and peaks and everything, slowly parsing new MATLAB terms. Any help appreciated.

Thanks.
 
 
 

3d landscape from a few data points?

Post by Image Anal » Sun, 24 Oct 2010 05:53:07

Perhaps surf() to plot it, and griddata() or interp2() to fill in the missing points so that you have a complete 2D array.

 
 
 

3d landscape from a few data points?

Post by John D'Err » Sun, 24 Oct 2010 07:40:07


Gridfit will do it for you. However, the major factor is
how many data points you have. If you have too few
points, then it is simply impossible to resolve a surface
well.

http://www.yqcomputer.com/

John