delelte certain string data from cell
Show older comments

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
Accepted Answer
More Answers (1)
use
names(ismember(names(:,1),'Australia'),:)=[];
Categories
Find more on Cell Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!