MATLAB: How to convert this cell array into a matrix

cell2mat

I have a 1×73 cell array (73 is number of neurons) filled with 1×60 doubles, {FR} (60 is number of bins). I would like to transform this into a 73 x 60 (NxB) matrix. The cell2mat function gives me a 1×4380 matrix. How can I fix this?

Best Answer

Use reshape after that.
iwant = reshape(cell2mat(C),60,[])' ;