reshape an array into other arrays

Hi all, I want to reshape an array of size (1X12) into array with a size of 1X5 and the last arry should contain the rest (1X2).
regards

 採用された回答

Walter Roberson
Walter Roberson 2015 年 7 月 6 日

0 投票

mat2cell(TheVector, 1, [5 5 2])

その他の回答 (0 件)

カテゴリ

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

タグ

質問済み:

2015 年 7 月 6 日

回答済み:

2015 年 7 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by