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.

Answers (1)

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

2 Comments

Let me work on it.
Was this what you meant? Did it work?

Sign in to comment.

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Tags

Asked:

on 31 Mar 2018

Commented:

Rik
on 9 Apr 2018

Community Treasure Hunt

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

Start Hunting!