How to plot the 4th dimension of an array?
Show older comments
Hi All,
I retrieved a matrix that stores a variable called temp. The matrix is 4D. If I want to retrieve only the 4th column and plot it how can i do that?
Accepted Answer
More Answers (1)
Sabarinathan Vadivelu
on 4 Dec 2013
Edited: Sabarinathan Vadivelu
on 4 Dec 2013
Extract the 4th dimension first.
fourthDimMatrix = allMatrix(:,:,4)
Then try plot function
3 Comments
Walter Roberson
on 4 Dec 2013
That is not the 4th dimension, that is the 4th page of the third dimension.
Sabarinathan Vadivelu
on 4 Dec 2013
@Walter: Thanks.
srinivasarao tanniru
on 4 Dec 2013
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!