Azzera filtri
Azzera filtri

Converting from 1 x n x 3 to n x 3

402 visualizzazioni (ultimi 30 giorni)
C Smyth
C Smyth il 28 Feb 2018
Risposto: KL il 28 Feb 2018
I have a file with the data as image one. But my code will only work if the data is in a n x 3 matrix (e.g. image 2)

Risposta accettata

KL
KL il 28 Feb 2018
squeeze(your_matrix)
eg: squeeze(1xnx3) gives you nx3 matrix

Più risposte (0)

Categorie

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

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by