How to visualize in a plot a Multidimensional array?
Show older comments
Hi!
a = rand(10); % matrix
b = repmat(a, 1, 1, 5); % makes multiple copies of your matrix in 3rd dimension
I used this two lines of code to generate a 3rd dimension of my original matrix. How can I visualize it?
6 Comments
Rik
on 24 Feb 2020
It is your data, only you know what makes the most sense. You should decide what kind of visualization makes sense for you, and then try implementing it. We can't tell you what makes sense for your application if you don't tell us anything about your application.
Currently your question is similar to "should I use plot or bar?"
Mariana
on 24 Feb 2020
Rik
on 24 Feb 2020
So you want to create an image like this? Why repeat the same matrix 5 times? That will only get you the same image 5 times.
Some options in there for visualising data above 2 dimensions.
Mariana
on 24 Feb 2020
Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!