How do i remove rows that have a blank space in a cell array?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I've imported a spreadsheet from excel that has a roster and information on people. How do I remove people from a cell array that did not fill out the email field?
0 commentaires
Réponses (1)
Jos (10584)
le 3 Déc 2017
tf = cellfun(@isempty, C_email) % check each cell of the cell array holding the emails
C_people(tf) = [] % remove the cells in the cell array holding the people
0 commentaires
Voir également
Catégories
En savoir plus sur Spreadsheets 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!