MATLAB: How to convert cell into matrix cell arrays assume that a={[1 2 3],[2 3 4;1 2 3]} I want to convert a into a=[1 2 3;2 3 4;1 2 3]. Is there any easy way? thanks Best Answer >> a={[1 2 3],[2 3 4;1 2 3]}a = [1x3 double] [2x3 double]>> vertcat(a{:})ans = 1 2 3 2 3 4 1 2 3 Related SolutionsMATLAB: How to concatenate all the cell values horizondally in matlab One way>> cac = {[1;1;1] [2;2] [3;3;3;3] };>> cat( 1, cac{:} )'ans = 1 1 1 2 2 3 3 3 3 MATLAB: How to cell array data in single matrix out = cat(1,c{:}); Related QuestionCell2mat errorHow can i find the position of a number in a cell consisting of arrays/matrices with different sizesConcatenating cell array elementsConcatenating an empty numeric array to a cell arrayHow to have a transposed
Best Answer