How can i check if an array cell contain only zero element ?
Afficher commentaires plus anciens
How can i check if an array cell just contain zero elements ? is there any defined matlab function ?
1 commentaire
Azzi Abdelmalek
le 12 Sep 2012
Modifié(e) : Azzi Abdelmalek
le 12 Sep 2012
the size of your cell aray?
Réponses (1)
Azzi Abdelmalek
le 12 Sep 2012
Modifié(e) : Azzi Abdelmalek
le 12 Sep 2012
B=cell2mat(A)
all(B(:)==0)
Catégories
En savoir plus sur Data Types dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!