how to shift arrays to the right??
    11 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    mary
 am 21 Jan. 2013
  
    
    
    
    
    Beantwortet: Nathan Hall
 am 19 Apr. 2022
            for example i have :
arr=[1 0 1 1 0 0 0 1];i want to shift it one step to the right and add a random bit to the left
my array will be ike this arr=[? 1 0 1 1 0 0 0]
?: could be 0 or 1 .
4 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
				Mehr zu Matrices and Arrays 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!