How I can show one plane of a 3D matrix double
7 views (last 30 days)
Show older comments
Hassan Zhairabany
on 28 May 2020
Edited: Hassan Zhairabany
on 28 May 2020
Hello,
I have a matrix
A=randi([0,1],[256,256,5])
and I want to show the plane B in a top view image like imshow()
B=A(255,:,:)
But imshow(B) does not work because the image of B considered Multi-plane, B is 256*1*5 double
0 Comments
Accepted Answer
KSSV
on 28 May 2020
To use imshow the input should be a matrix .....you may try
imshow(squeeze(B))
3 Comments
More Answers (0)
See Also
Categories
Find more on Geometric Transformation and Image Registration 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!