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 日

0 投票

result = reshape(A.',2,[]).'

1 件のコメント

Jassy
Jassy 2019 年 6 月 2 日
Thank you James Tursa.
It's help me

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStructures についてさらに検索

タグ

質問済み:

2019 年 6 月 2 日

コメント済み:

2019 年 6 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by