MATLAB: Extracting data from nested cell.

cellcell arraycell arrayscellsMATLAB

I'm having a cell of size 30×36. In that each element is a cell of 150×4 (type is double). I want to extract the second column of every 150×4 element into an array. How can i do it?

Best Answer

Have a look at this documentation page. Specifically, the example showing the syntax for extracting data from a cell within a cell:
C{2,1}{1,2}