delelte certain string data from cell
3 ビュー (過去 30 日間)
古いコメントを表示

i want to delete Australia from this data using code
name= names (~any(cellfun('Australia',names),1:)
but i gives error so tell me an other way to del it
0 件のコメント
採用された回答
Star Strider
2021 年 5 月 29 日
C = {'abc';'def';'ghi';'ghi';'ghi';'jkl';'mno';'pqr'}
TF = ismember(C,'ghi')
Cnew = C(~TF,:)
.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!