Clear Filters
Clear Filters

Extracting data from nested cell.

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

Accepted Answer

Cris LaPierre
Cris LaPierre on 5 Dec 2018
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}

More Answers (0)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!