MATLAB: Array Question time again

arraycombine arrays

Hey Guys, I have an 54×4 Array and every entry is another Array holding numbers. No i want to combine every line of the big array.
'J' 'J' 'J' 'J'
[1x41 double] [1x41 double] [1x41 double] [1x41 double]
[1x41 double] [1x41 double] [1x41 double] [1x41 double]
the goal is an an 1×161 Array named x. How can i combine this Arrays ?

Best Answer

A={1:4 5:8 9:12;20:23 24:27 28:31}
B=num2cell(cell2mat(A),2)