How to convert a column matrix 200 X 1 to a matrix 10 X 20 mat lab

Good morning.
How to convert a column matrix 200 X 1 to a matrix 10 X 20
Thank you

 Respuesta aceptada

James Tursa
James Tursa el 12 de Mzo. de 2018
Editada: James Tursa el 12 de Mzo. de 2018
Either
result = reshape(your_matrix,10,20)
or this
result = reshape(your_matrix,20,10).'
depending on how you want the elements ordered in the result.

Más respuestas (0)

Categorías

Productos

Preguntada:

el 12 de Mzo. de 2018

Comentada:

el 13 de Mzo. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by