delelte certain string data from cell
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti

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 Commenti
Risposta accettata
Star Strider
il 29 Mag 2021
C = {'abc';'def';'ghi';'ghi';'ghi';'jkl';'mno';'pqr'}
TF = ismember(C,'ghi')
Cnew = C(~TF,:)
.
0 Commenti
Vedere anche
Categorie
Scopri di più su Structures in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!