Extracting data from a cell array

1 Ansicht (letzte 30 Tage)
Luffy
Luffy am 18 Jun. 2015
Bearbeitet: Luffy am 18 Jun. 2015
Hi, I have a 10 x 1 cell array.Each 1 x 1 cell has 192 bits(binary).So 10 different 192 bit vectors. Now i need to extract bits from each cell array,like first 15 bits,16:25 .... from each cell array,how can i do this ?
Attached is the csv file from which i imported this cell array

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 18 Jun. 2015
out=cellfun(@(x) x(1:15),YourcellArray,'un',0)

Weitere Antworten (0)

Kategorien

Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by