How to write all data of a cell array into one big list?

조회 수: 93 (최근 30일)
Marcus W
Marcus W 2018년 12월 12일
댓글: Marcus W 2018년 12월 13일
Hello,
I'm searching for a function or fast way to write all data of a cell array into one big list.
I receive with the function "rangesearch" a cell array with different content like this:
1x17 double
1x14 double
1x11 double
1x21 double
Now I want all this data in one big list of 1x63 elements.
Now I achieve this with a for-loop, but is there an existing function or faster way than mine?
Thanks in advance

채택된 답변

Daniele Mascali
Daniele Mascali 2018년 12월 12일
If A is your cell array, you might try:
[A{:}]
  댓글 수: 1
Marcus W
Marcus W 2018년 12월 13일
Great!
That was exactly what I was searching for. Thanks a lot!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Cell Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by