Problem with Cell Array in Table
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi,
I have a table T, with cell arrays of doubles.
By opening T.Var1{1,1} (selected in the figure above) we get a double with 3 columns:
My intention is to have a table T without cells. I want to have a table T with 3 columns (no cells) where all the 5 contents of cells are concatenated vertically. (i.e., the cell 2, 3 columns, are in the end of cell 1, 3 columns, etc).
댓글 수: 0
채택된 답변
David Hill
2022년 3월 17일
Why not just a matrix? It does not seem like you have any field names.
M=[];
for k=1:5
M=[M;T.Var1{k}];
end
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!