transform a cell in a column

1 view (last 30 days)
Rica
Rica on 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 Comment
Jan
Jan on 29 Oct 2012
Transform to a column vector or cell?

Sign in to comment.

Answers (3)

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

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

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

Categories

Find more on Dates and Time in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!