Convert Column Vector to arrey matrix

5 visualizaciones (últimos 30 días)
Naufal Fathoni
Naufal Fathoni el 8 de Jul. de 2019
Respondida: madhan ravi el 9 de Jul. de 2019
Hi, I have a 500x1 column vector How do I convert it into a 25x20 array matrix where 1st row values of the matrix will be 1st - 20 values of the vector and so on.

Respuesta aceptada

infinity
infinity el 8 de Jul. de 2019
Hello,
You may see this function, it will help you

Más respuestas (1)

madhan ravi
madhan ravi el 9 de Jul. de 2019
Matrix = reshape(vector,20,25).'

Categorías

Más información sobre Matrices and Arrays 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