How to make a sequence number?
Mostra commenti meno recenti
Hello,
i have a number 6, i wann get it to the sequence number. it's like an example with randperm(6), but i want it to sequence not randperm, so the result should be 1 2 3 4 5 6.
How can i do this? please help me.thanks in advance
Risposta accettata
Più risposte (1)
David Sanchez
il 23 Mag 2013
n=6;
my_seq=linspace(1,n,n)
my_seq =
1 2 3 4 5 6
Categorie
Scopri di più su Develop Apps Using App Designer in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!