How to change a 3 dimensional matrix to 2 dimensinal?

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by