How to reshape a (1*200) matrix to (25*8)matrix?

1 visualización (últimos 30 días)
Sarah A
Sarah A el 5 de Sept. de 2019
Comentada: Sarah A el 5 de Sept. de 2019
Hello,
Suppose that we already have a (1*200) matrix, how we could reshape it to a (25*8) matrix?
Regards,
  2 comentarios
Adam
Adam el 5 de Sept. de 2019
Editada: Adam el 5 de Sept. de 2019
What is wrong with the obvious:
reshape( myMatrix, [25 8] )
where myMatrix is your 1x200 matrix? It depends, of course, whether you wnat it reshaped along columns or rows first, but you didn't specify.
Sarah A
Sarah A el 5 de Sept. de 2019
Thank you.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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