How can i check if an array cell contain only zero element ?
    6 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
How can i check if an array cell just contain zero elements ? is there any defined matlab function ?
1 Commento
  Azzi Abdelmalek
      
      
 il 12 Set 2012
				
      Modificato: Azzi Abdelmalek
      
      
 il 12 Set 2012
  
			the size of your cell aray?
Risposte (1)
  Azzi Abdelmalek
      
      
 il 12 Set 2012
        
      Modificato: Azzi Abdelmalek
      
      
 il 12 Set 2012
  
      B=cell2mat(A)
all(B(:)==0)
0 Commenti
Vedere anche
Categorie
				Scopri di più su Data Types 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!

