how to concatenate different cells of a cell array in one cell without a loup ??

4 Ansichten (letzte 30 Tage)
this is my cell B
B =
{1x2 cell} {1x3 cell}
How to transorm it into {1x5 cell}
???

Akzeptierte Antwort

Matt Fig
Matt Fig am 23 Okt. 2012
B = {{magic(2) magic(2)},{magic(2) magic(2) magic(2)}}
B2 = cat(2,B{:})

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by