How can i delete cell from cell array?
조회 수: 1 (최근 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!