Visualization of 3d matrix

Hi guys,
I'd be glad for your help. I've seen many questions like this one but I can't seem to get the reply that I want. My problem seems simple. I have a 3D matrix A(20,20,20). Every element is a number. I want to visualize this data in a 3D plot, where every point will get a color depending on its value, something like temperature in a room.
I'd be very glad for your help. Thank you for your time!

Answers (1)

Steven Lord
Steven Lord on 28 Apr 2017
Use the scatter3 function?
If you want something more sophisticated, take a look at the functions listed on this documentation page.

Categories

Asked:

on 28 Apr 2017

Answered:

on 28 Apr 2017

Community Treasure Hunt

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

Start Hunting!