Matrix element comparision ?
    4 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
    anshuman mishra
      
 le 13 Déc 2019
  
    
    
    
    
    Réponse apportée : Fangjun Jiang
      
      
 le 13 Déc 2019
            i have a matrix:
3 0 
1 2
1 4
i can find the smallest element in 1st column i.e. 1 & 0 in the second column. 
I need to assign a variable as 0 for each multiple similar element in a single column i.e 1 & 1 in the 1st column & assign 1 to only one unique element in single column i.e 0 in 2nd column. 
3 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
				En savoir plus sur Logical 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!


