how interpolate 16 three-dimensional points with mesh function?

hi, i would interpolate the 16 points in the figure with the mesh function. This is the figure:
How could i do?
thanks

1 Comment

http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer

Sign in to comment.

Answers (1)

To get you started:
[X,Y] = ndgrid(1:4,(1:4).');
Z = rand(4,4);
mesh(X,Y,Z)
surf(X,Y,Z)

Categories

Find more on Interpolation in Help Center and File Exchange

Asked:

on 30 May 2011

Community Treasure Hunt

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

Start Hunting!