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개)

Oleg Komarov
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에 대해 자세히 알아보기

질문:

2011년 5월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by