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
Rik 2018년 3월 31일

1 개 추천

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

댓글 수: 2

alpedhuez
alpedhuez 2018년 3월 31일
Let me work on it.
Rik
Rik 2018년 4월 9일
Was this what you meant? Did it work?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

태그

질문:

2018년 3월 31일

댓글:

Rik
2018년 4월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by