Extracting data from nested cell.

11 visualizzazioni (ultimi 30 giorni)
Ajay Ganti
Ajay Ganti il 5 Dic 2018
Risposto: Cris LaPierre il 5 Dic 2018
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?

Risposta accettata

Cris LaPierre
Cris LaPierre il 5 Dic 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}

Più risposte (0)

Prodotti


Release

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by