I have 1 x 7 cell. Each cell has 20000 x 1 array. How do I take 1st column and 3rd 4th 5 7 7 column ? So result becomes 20000 x 5 array ?

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 5 Dez. 2016
Bearbeitet: Azzi Abdelmalek am 5 Dez. 2016

1 Stimme

If v is your cell array
out=cell2mat(v([1 3 4 5 7 ]))

Weitere Antworten (1)

Kategorien

Mehr zu Data Types finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 5 Dez. 2016

Beantwortet:

Jan
am 5 Dez. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by