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 ExchangeMatrix Indexing についてさらに検索

製品

タグ

質問済み:

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