採用された回答

David K.
David K. 2019 年 9 月 26 日

0 投票

I would do it as such:
P = 1:10;
out = reshape(P,[2,5]);
out = out'; % Take transpose

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Data Type Conversion についてさらに検索

製品

リリース

R2014b

質問済み:

2019 年 9 月 26 日

コメント済み:

2019 年 9 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by