How to visualize in a plot a Multidimensional array?

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

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?"
The same matrix is repeated in 5 pages but I would like to plot all the values in one graph and if the values are higher than 2 change the color of all that section.
Like a division of color depending on the range of values. I hope I had explained myself.
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.
Well the idea is to create other ones reduced by 10%. Technically, they will get smaller and smaller.
For example
If I have as input --> (5,10,2) = 2.5 Fifth row, 10 column and second row. Since 2.5 is higher than 2. Its classified as in the save zone.
If I have another input where the result is less than two then its danger zone.
If the page value is positive I want to keep the same format as the original but if the page value is negative the zones should decrease.
Adam
Adam on 24 Feb 2020
Edited: Adam on 24 Feb 2020
Some options in there for visualising data above 2 dimensions.
But that works when you have all the data as x,y,z. I can do that but per page not for all.
Here, are my data sets they were previously multiplied by mask to reduce the values y certain percentage. I am trying to make split in two parts these data. The values that are higher than 2 and less than 2. I made a concat but I have 6D array and I just want a 3D.
Similar to what repmap does but with different 2d matrix.

Sign in to comment.

Answers (0)

Products

Release

R2018b

Asked:

on 24 Feb 2020

Commented:

on 24 Feb 2020

Community Treasure Hunt

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

Start Hunting!