How can i delete cell from cell array?
2 次查看(过去 30 天)
显示 更早的评论
I have two cell array,
W =
1×2 cell array
[1×2 double] [1×2 double]
F =
3×2 cell array
[1×2 double] []
[1×2 double] [1×2 double]
[1×2 double] []
I want to check if cell value in F contains in W, then I will delete the cell value in W
please help me.
4 个评论
Image Analyst
2019-12-15
You might try ismember() with the rows option. Or try a loop comparing W with each row of F with isequal(). Please attach the actual F and W in a .mat file with the paper clip icon.
回答(0 个)
另请参阅
类别
在 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!