how to reshape this matrix

1 回表示 (過去 30 日間)
Jassy
Jassy 2019 年 6 月 2 日
コメント済み: Jassy 2019 年 6 月 2 日
A = [ 1 2 3 4 5 6 7 8 9 10; 11 12 13 14 15 16 17 18 19 20;]
I want reshape to
1 2;
3 4;
5 6;
7 8;
.
.
.
19 20;
thank you sir.

採用された回答

James Tursa
James Tursa 2019 年 6 月 2 日
result = reshape(A.',2,[]).'
  1 件のコメント
Jassy
Jassy 2019 年 6 月 2 日
Thank you James Tursa.
It's help me

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRobust Control Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by