Convert Column Vector to arrey matrix
显示 更早的评论
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.
采纳的回答
更多回答(1 个)
madhan ravi
2019-7-9
Matrix = reshape(vector,20,25).'
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!