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

1 回表示 (過去 30 日間)
priya h
priya h 2020 年 4 月 1 日
コメント済み: priya h 2020 年 4 月 1 日
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).'
  1 件のコメント
priya h
priya h 2020 年 4 月 1 日
Thank you. Its working.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePulse width modulation (PWM) についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by