Convert a xyz surface into a 3D array?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nathan Orloff
am 20 Feb. 2014
Bearbeitet: Sean de Wolski
am 20 Feb. 2014
I have a the following input:
surface = struct('vertices', [....],'faces',[....];
Which I can draw as:
patch(surface)
But what I need is a 3D logical array, where the contained volumes are true.
Is there a quick way to do this?
0 Kommentare
Akzeptierte Antwort
Sean de Wolski
am 20 Feb. 2014
Bearbeitet: Sean de Wolski
am 20 Feb. 2014
Edit per clarification
Use this utility from the File Exchange:
2 Kommentare
Sean de Wolski
am 20 Feb. 2014
Bearbeitet: Sean de Wolski
am 20 Feb. 2014
Ahh, gotcha. I was thinking the other direction (i.e. given a logical volume, get the struct).
See edits
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Convert Image Type finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!