generating a sequence 1,2,3,4,....,n
    57 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Rabeya
 am 21 Apr. 2012
  
    
    
    
    
    Beantwortet: Arsal noor
 am 22 Okt. 2020
            Without using a for loop, how can I generate an index 1,2,3,...,n?
0 Kommentare
Akzeptierte Antwort
  R.U.F.
      
 am 21 Apr. 2012
        vector=[1:stepsize:n] if the stepsize =1 as in your case, you can disregard it
1 Kommentar
Weitere Antworten (1)
Siehe auch
Kategorien
				Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
			
	Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



