Remove cells with spaces from cell array
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mohit
le 12 Mar 2014
Réponse apportée : Andrei Bobrov
le 12 Mar 2014
Hi,
I am trying to remove cells with just a space in them (and no other text or number) from a cell array (100 by 200) but am unable to do so with below command as I get error.
core_data(cell2mat(core_data)==' ')=[];
??? Error using ==> cell2mat at 47
All contents of the input cell array must be of the same data type.
My cell array has strings as well as numeric data. Please help!
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Cell Arrays 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!