replicating/copy part of Cell Array
이전 댓글 표시
I have Cell Array;
CA{100,5}
is there a function/syntax to copy a section of a cell array in a similar fashion to copying a matrix;
NewCA = CA{1:50, 4:5};
or do I have to cell copy using a loop.
Thanks,
AD
채택된 답변
추가 답변 (1개)
Astik Sachan
2017년 5월 10일
편집: Astik Sachan
2017년 5월 10일
CA{100,5}; %you have
tempCA = {CA{1:50,4:5}};
NewCA = reshape(tempCA,[50,2]);
Try this!
카테고리
도움말 센터 및 File Exchange에서 Data Types에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!