How can i check if an array cell contain only zero element ?
15 vues (au cours des 30 derniers jours)
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)
0 commentaires
Voir également
Catégories
En savoir plus sur Data Types 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!