transform a cell in a column

10 vues (au cours des 30 derniers jours)
Rica
Rica le 29 Oct 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 commentaire
Jan
Jan le 29 Oct 2012
Transform to a column vector or cell?

Connectez-vous pour commenter.

Réponses (3)

Matt J
Matt J le 29 Oct 2012
column = vertcat(A{:});

José-Luis
José-Luis le 29 Oct 2012
A = cell2mat(A);

Jan
Jan le 29 Oct 2012
If speed matters: FEX: Cell2Vec.

Catégories

En savoir plus sur Dates and Time dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by