How to convert a column matrix 200 X 1 to a matrix 10 X 20 mat lab
1 次查看(过去 30 天)
显示 更早的评论
Good morning.
How to convert a column matrix 200 X 1 to a matrix 10 X 20
Thank you
采纳的回答
James Tursa
2018-3-12
编辑:James Tursa
2018-3-12
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!