How can i reshape a matrix

2 visualizaciones (últimos 30 días)
Khaled
Khaled el 7 de Ag. de 2022
Comentada: Khaled el 7 de Ag. de 2022
I have a 24x6x47 matrix such that 24x6 matrix repeated 47 times
I want to reshape it to matrix 24x47 as Rows and 6 columns

Respuesta aceptada

Walter Roberson
Walter Roberson el 7 de Ag. de 2022
reshape(permute(M1, [1 3 2]),[],size(M1,2))
  1 comentario
Khaled
Khaled el 7 de Ag. de 2022
I am a begginer!
Yes, it works
Thanks alot !

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by