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