MATLAB: How to combine cells into a matrix cell i have 427 cells and each cells has 3 element like out{1}=[3 2 1] out{2}=[33 24 11] etc… i should combine this values together as one matrix in reverse order out = [1 2 3 11 24 33…] Best Answer Given your out varialble, tryout = fliplr([out{:}])If you want to flip each row vector, then concatentate useoutNew = cellfun(@fliplr,out,'un',0)out = [outNew{:}] Related SolutionsMATLAB: Combine ARRAYS doc catThis should work, too:C = [A ; B]; MATLAB: Delete empty cells from cell array reshape(out,4,[]) Related QuestionCombining MatricesSorting cell array containing alphanumeric textCombining cellsManipulation of a cell array-Combining variablesCombine cells of a {1,3} cell array.Combining matrices
Best Answer