MATLAB: How to convert (2×3)[each element in 2×3 contains 1×19 double]cell array

cell array

2×3 cell Capture.jpg I want to convert to something like shown in 2nd jpg

Best Answer

my guess, A is the original data, B is the desired result
A=repmat({1:5},2,3);
B=cell2mat(reshape(transpose(A),[],1))