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

4 views (last 30 days)
this is my cell B
B =
{1x2 cell} {1x3 cell}
How to transorm it into {1x5 cell}
???

Accepted Answer

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

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!