Modify cell array contents?
Show older comments
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] }
Answers (1)
Fangjun Jiang
on 6 Dec 2018
0 votes
mat2cell(A{1},1,[2 2 2])
Categories
Find more on Cell Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!