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

5 次查看(过去 30 天)
Good morning.
How to convert a column matrix 200 X 1 to a matrix 10 X 20
Thank you

采纳的回答

James Tursa
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 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