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 个评论

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

请先登录,再进行评论。

回答(1 个)

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

类别

帮助中心File Exchange 中查找有关 Interpolation 的更多信息

提问:

2011-5-30

Community Treasure Hunt

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

Start Hunting!

Translated by