필터 지우기
필터 지우기

Unpacking a 3D mesh grid

조회 수: 2 (최근 30일)
Ampi
Ampi 2012년 11월 1일
Hello,
I have constructed a 3D mesh using griddata function. Now i want to unpack the 3D mesh using a suitable Matlab command to get the X,Y & Z coordinates. Please suggest a suitable code for this. Thanks in advance.
  댓글 수: 1
Matt J
Matt J 2012년 11월 1일
편집: Matt J 2012년 11월 1일
It's not clear, at least to me, what you mean. In order to use GRIDDATA, you would have had to feed it the X,Y,Z coordinates of both the input and the output samples. So, don't you know X,Y,Z already?

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2012년 11월 1일
[X, Y, Z] = griddata(....)
XYZCoords = [X(:), Y(:), Z(:)];

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by