フィルターのクリア

How to change a 3 dimensional matrix to 2 dimensinal?

2 ビュー (過去 30 日間)
Shilpesh
Shilpesh 2017 年 2 月 8 日
コメント済み: Shilpesh 2017 年 2 月 8 日
Hello, I have a matrix of size 1x512x512.... I need to convert it to 2 dimensional form of 512x512, for using imagesc... Can anyone help?
Thanks

採用された回答

Thibaut Jacqmin
Thibaut Jacqmin 2017 年 2 月 8 日
If A is your matrix, you can use
squeeze(A)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by