MATLAB: How to concatenate different cells of a cell array in one cell without a loup ?

cell arraysMATLAB

this is my cell B
B =
{1x2 cell} {1x3 cell}
How to transorm it into {1x5 cell}
???

Best Answer

B = {{magic(2) magic(2)},{magic(2) magic(2) magic(2)}}
B2 = cat(2,B{:})