convert array dimensions 12 channels

1 visualización (últimos 30 días)
Mauricio Piraquive
Mauricio Piraquive el 19 de En. de 2021
Comentada: Mauricio Piraquive el 19 de En. de 2021
I have file with 50 rows and 12 columns [50 x 12] , how can i convert this file to [50 x 1 x 12] where 12 it is like channels in an image, for example for rgb images would be [50 x 20 x 3] in my case I wanted to be 12 channels
thanks for your help

Respuesta aceptada

KALYAN ACHARJYA
KALYAN ACHARJYA el 19 de En. de 2021
reshape(data,[50,1,12])
  1 comentario
Mauricio Piraquive
Mauricio Piraquive el 19 de En. de 2021
Thanks, and then how can I save this rtesult into a .mat file?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Types 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