Suppose I have a 10-by-1 cell array consisting of ten 1-by-7 cell arrays. How do I extract the sub cell arrays to get a 10-by-7 array?

 채택된 답변

Guillaume
Guillaume 2018년 11월 2일
편집: Guillaume 2018년 11월 2일

1 개 추천

vertcat(yourcellarray{:})
which will fail if any of the subcell arrays does not have the same number of columns as any of the others.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Data Types에 대해 자세히 알아보기

태그

질문:

2018년 11월 2일

편집:

2018년 11월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by