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

5 visualizzazioni (ultimi 30 giorni)
this is my cell B
B =
{1x2 cell} {1x3 cell}
How to transorm it into {1x5 cell}
???

Risposta accettata

Matt Fig
Matt Fig il 23 Ott 2012
B = {{magic(2) magic(2)},{magic(2) magic(2) magic(2)}}
B2 = cat(2,B{:})

Più risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by