Modify cell array contents?

I want to modify a cell for example A = { 1, 2, 3, 2, 3, 4 } to the same A = { [1 2], [3 2], [3 4] }

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2018 年 12 月 6 日

0 投票

mat2cell(A{1},1,[2 2 2])

カテゴリ

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

質問済み:

a
a
2018 年 12 月 6 日

回答済み:

2018 年 12 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by