Unpacking a 3D mesh grid
Afficher commentaires plus anciens
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 commentaire
Réponses (1)
Walter Roberson
le 1 Nov 2012
[X, Y, Z] = griddata(....)
XYZCoords = [X(:), Y(:), Z(:)];
Catégories
En savoir plus sur Surface and Mesh Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!