There are 12 elements in your cell array. Each element is a matrix but of different sizes.
{73×6 double} {1581×12 double} {105×6 double} {105×6 double} {113×6 double} {264×6 double} {98×7 double}
{98×6 double} {98×7 double} {88×6 double} {994×3 double} {194×6 double}
If you want to combine all elements of your cell array some common options are
- convert them to a single vector (row or column)
- equate the number of columns in all matrices and fill the missing elements with NaN or another missing value indicator. Then concatenate the matrices vertically
- equate the number of rows in all matrices, fill the missing elements, and concatenate horizontally
- equate the number of rows and columns in all matrices, fill the missing elements, and concatenate in a 3D array.
m = cell2mat(cellfun(@(c){c(:)},OUT)');
maxNumCol = max(cellfun(@(c) size(c,2), OUT));
mPad = cell2mat(cellfun(@(c){padarray(c,[0,maxNumCol-size(c,2)],NaN,'Post')},OUT)');
maxNumRow = max(cellfun(@(c) size(c,1), OUT));
mPad = cell2mat(cellfun(@(c){padarray(c,[maxNumRow-size(c,1),0],NaN,'Post')},OUT));
maxMatSz = max(cell2mat(cellfun(@(c) {size(c)}, OUT)'),[],1);
cPad = cellfun(@(c){padarray(c,[maxMatSz(1)-size(c,1),maxMatSz(2)-size(c,2)],NaN,'Post')},OUT);