0

I would like to produce following 3D visualization in MATLAB:

enter image description here

mydata = rand(100,100,100);

How may I do it for mydata?

WDC
  • 334
  • 1
  • 3
  • 14

1 Answers1

5
figure
volshow(mydata)

or

volumeViewer(mydata)
Alex Taylor
  • 1,402
  • 1
  • 9
  • 15
  • Future visitors should note use of [`volshow`](https://www.mathworks.com/help/images/ref/volshow.html) requires the **Image Processing Toolbox** and was introduced in **R2019a**. The [`volumeViewer`](https://www.mathworks.com/help/images/ref/volumeviewer-app.html) was introduced in **R2017a**. (+1) for multiple solutions. – SecretAgentMan Apr 25 '19 at 21:39