Convert Column Vector to arrey matrix

5 次查看(过去 30 天)
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.

采纳的回答

infinity
infinity 2019-7-8
Hello,
You may see this function, it will help you

更多回答(1 个)

madhan ravi
madhan ravi 2019-7-9
Matrix = reshape(vector,20,25).'

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by