Eliminate certain entries of cell array
조회 수: 3 (최근 30일)
이전 댓글 표시
I have a 1x73 cell array, FR, and I would like to eliminate FR {8, 17, 31, 41, 43, 47, 49, 56, 60, 66, 73} and re-save as a 1x62 cell array. How can I do this?
댓글 수: 2
채택된 답변
KSSV
2020년 5월 27일
If C is your cell array and FR has the indices of cells which are to be removed, use:
C(FR) = []
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Performance and Memory에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!