Viewing three dimensional matrix
显示 更早的评论
Suppose I have a 3D matrix A(i,j,k). Suppose I want to view a 2 matrix A(1,:,:). Please advise.
回答(1 个)
Rik
2018-3-31
Something like this maybe?
imshow(squeeze(A(1,:,:)))
imshow might even be smart enough not to need squeeze.
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!