Azzera filtri
Azzera filtri

How to change a 3 dimensional matrix to 2 dimensinal?

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by