How can I convert a vector [256 by 1] into 16 by 16 matrix

1 次查看(过去 30 天)
I have a Matrix [256 by 1]. I want convert this matrix in 16 by 16.
How to do this?

采纳的回答

Walter Roberson
Walter Roberson 2020-4-1
reshape(Matrix,16,16)
or in some cases,
reshape(Matrix,16,16).'

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by