Viewing three dimensional matrix

2 次查看(过去 30 天)
alpedhuez
alpedhuez 2018-3-31
评论: Rik 2018-4-9
Suppose I have a 3D matrix A(i,j,k). Suppose I want to view a 2 matrix A(1,:,:). Please advise.

回答(1 个)

Rik
Rik 2018-3-31
Something like this maybe?
imshow(squeeze(A(1,:,:)))
imshow might even be smart enough not to need squeeze.

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by