How to reshape a (1*200) matrix to (25*8)matrix?

1 回表示 (過去 30 日間)
Sarah A
Sarah A 2019 年 9 月 5 日
コメント済み: Sarah A 2019 年 9 月 5 日
Hello,
Suppose that we already have a (1*200) matrix, how we could reshape it to a (25*8) matrix?
Regards,
  2 件のコメント
Adam
Adam 2019 年 9 月 5 日
編集済み: Adam 2019 年 9 月 5 日
What is wrong with the obvious:
reshape( myMatrix, [25 8] )
where myMatrix is your 1x200 matrix? It depends, of course, whether you wnat it reshaped along columns or rows first, but you didn't specify.
Sarah A
Sarah A 2019 年 9 月 5 日
Thank you.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by