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 个评论
Oleg Komarov
2011-5-30
http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
回答(1 个)
Oleg Komarov
2011-5-30
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!