transform a cell in a column

1 visualizzazione (ultimi 30 giorni)
Rica
Rica il 29 Ott 2012
Hi!
I have a cell like this:
A=[5001*1 double]; [5001*1 double]; [5001*1 double]; [5001*1 double]; .. .. .. .. 700 times.
I want to trasform this cell in a column filled with datas
How could do it?
thanks
  1 Commento
Jan
Jan il 29 Ott 2012
Transform to a column vector or cell?

Accedi per commentare.

Risposte (3)

Matt J
Matt J il 29 Ott 2012
column = vertcat(A{:});

José-Luis
José-Luis il 29 Ott 2012
A = cell2mat(A);

Jan
Jan il 29 Ott 2012
If speed matters: FEX: Cell2Vec.

Categorie

Scopri di più su Dates and Time in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by