フィルターのクリア

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 Center および File ExchangeSurface and Mesh Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by