How to check 0 and 1 at matrix every row and column?
    7 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Md. Mohidul Islam
 il 25 Apr 2022
  
    
    
    
    
    Commentato: Torsten
      
      
 il 25 Apr 2022
             matrix can only contain one of the only one in his row and column.
1 Commento
  Torsten
      
      
 il 25 Apr 2022
				If you know that the matrix contains only 0's and 1's, sum the rows and sum the columns. If the result is 1 in each case, return "correct".
Risposta accettata
Più risposte (1)
Vedere anche
Categorie
				Scopri di più su Creating and Concatenating Matrices 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!



