how can i assign the same values in an array with 1?
    2 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    suchismita
 am 6 Feb. 2016
  
    
    
    
    
    Kommentiert: suchismita
 am 6 Feb. 2016
            I have an array as
A=[303
95
54
303
303]
I want to assign all same values as 1 and others as 0
A= [1
0
0
0
1
1]
2 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


