Azzera filtri
Azzera filtri

How can i check if an array cell contain only zero element ?

9 visualizzazioni (ultimi 30 giorni)
How can i check if an array cell just contain zero elements ? is there any defined matlab function ?

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 12 Set 2012
Modificato: Azzi Abdelmalek il 12 Set 2012
B=cell2mat(A)
all(B(:)==0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by