MATLAB: How to unpack contents of a cell array cell array Best Answer You can use a comma-separated list, and simply concatenate the contents into one matrix:mat = vertcat(dom_psth_tb{:})Read this to know more about comma-separated lists:https://www.mathworks.com/matlabcentral/answers/320713-how-to-operate-on-comma-separated-lists Related SolutionsMATLAB: Do I receive “Cell contents reference from a non-cell array object.” error Try round brackets instead handles.num(:). These ones {} are used for cells. MATLAB: Converting cell array containing char to array. desired_array = vertcat(cell_array{1,1:8})https://www.mathworks.com/help/matlab/matlab_prog/comma-separated-lists.htmlhttps://www.mathworks.com/matlabcentral/answers/320713-how-to-operate-on-comma-separated-lists Related QuestionHow to extract and organize data in a structureTurn cell array of cell arrays into single column of dataStruct to cell arrayHow to create a cell array from rows of an existing cell arrayConcatenate cell array of cell arraysAccess to nested structs
Best Answer