How can I visualize a 3D matrix with boolean values (0 or 1)?

11 views (last 30 days)
Hi everyone.
I have a 3D matrix with Boolean values (0 or 1). Could you please tell me how I can visualize it in MATLAB? I just want to visualize it and show it in Word.
Thank in advance for your help.

Accepted Answer

Ahmet Cecen
Ahmet Cecen on 5 Mar 2018
Isosurface is one way.
Vol3D is another.
Export to VTK then ParaView is yet another.
  3 Comments
Jan
Jan on 5 Mar 2018
@Hamed: I do no see the difference between your needs and the output of Vol3D. The cubes cannot be "Zero or One", but maybe you mean black or white. But Vol3D is able to do exactly this. Please clarify, why it does not help already.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!