I imported data from a large excel file and now I want to delete the rows that have the values of column "dds" equal to 1 or 7. How can I proceed?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Eduardo Rocha
le 23 Oct 2016
Commenté : Eduardo Rocha
le 23 Oct 2016
I imported data from a large excel file and now I want to delete the rows that have the values of column "dds" equal to 1 or 7. How can I proceed?
0 commentaires
Réponse acceptée
Walter Roberson
le 23 Oct 2016
ddscol = 4; %set according to which column it is in
YourData( ismember(YourData(:,ddscol), [1, 7]), :) = []; %delete the rows where dds is 1 or 7
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Point Cloud Processing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!