Converting from 1 x n x 3 to n x 3

176 visualizaciones (últimos 30 días)
C Smyth
C Smyth el 28 de Feb. de 2018
Respondida: KL el 28 de Feb. de 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)

Respuesta aceptada

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

Más respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by