Modify cell array contents?

2 Ansichten (letzte 30 Tage)
a
a am 6 Dez. 2018
Beantwortet: Fangjun Jiang am 6 Dez. 2018
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] }

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 6 Dez. 2018
mat2cell(A{1},1,[2 2 2])

Kategorien

Mehr zu Data Types finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by