I am having a 3D matrix with 20 rows (x direction) , 50 cols (y direction) and 187 points ( z direction ,3rd dimension ). I want to view the plane described by x = 3 . i.e the the z-y plane at x= 3.
I have used the syntax
but it's showing the result as (:,:,35115) cols 1 through 50 etc. what I want is the 50 cols with 187 points each .
Also I want to ask that, how can I plot a single column of a 3D matrix. example A(5,4,:) this will be a set of points ( 187 points ) in the z-direction. I want to plot these points only .
1 Comment
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/405402-matrix-indexing-and-plotting-related-doubt#comment_578090
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/405402-matrix-indexing-and-plotting-related-doubt#comment_578090
Sign in to comment.