Eliminate certain entries of cell array
2 次查看(过去 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 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!