Effacer les filtres
Effacer les filtres

manipulation of a cell array-

3 vues (au cours des 30 derniers jours)
alex
alex le 15 Oct 2012
I have a cell array where some cells are empty, some are with numbers and some are with strings and chars.
I want to find out which ones are empty- is there a better way then a double loop with
isempty(cell_array{i,j}) ?

Réponse acceptée

Matt Fig
Matt Fig le 15 Oct 2012
Modifié(e) : Matt Fig le 15 Oct 2012
Cell_array = {1,[],magic(2);'stirng',[],[]}
cellfun('isempty',Cell_array)

Plus de réponses (0)

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!

Translated by