transform a cell in a column

조회 수: 1 (최근 30일)
Rica
Rica 2012년 10월 29일
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
Jan
Jan 2012년 10월 29일
Transform to a column vector or cell?

댓글을 달려면 로그인하십시오.

답변 (3개)

Matt J
Matt J 2012년 10월 29일
column = vertcat(A{:});

José-Luis
José-Luis 2012년 10월 29일
A = cell2mat(A);

Jan
Jan 2012년 10월 29일
If speed matters: FEX: Cell2Vec.

카테고리

Help CenterFile Exchange에서 Dates and Time에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by