Convert a xyz surface into a 3D array?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Nathan Orloff
il 20 Feb 2014
Modificato: Sean de Wolski
il 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 Commenti
Risposta accettata
Sean de Wolski
il 20 Feb 2014
Modificato: Sean de Wolski
il 20 Feb 2014
Edit per clarification
Use this utility from the File Exchange:
2 Commenti
Sean de Wolski
il 20 Feb 2014
Modificato: Sean de Wolski
il 20 Feb 2014
Ahh, gotcha. I was thinking the other direction (i.e. given a logical volume, get the struct).
See edits
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Convert Image Type in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!