How to change a 3 dimensional matrix to 2 dimensinal?

1 visualización (últimos 30 días)
Shilpesh
Shilpesh el 8 de Feb. de 2017
Comentada: Shilpesh el 8 de Feb. de 2017
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

Respuesta aceptada

Thibaut Jacqmin
Thibaut Jacqmin el 8 de Feb. de 2017
If A is your matrix, you can use
squeeze(A)

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by