How to make a sequence number?
이전 댓글 표시
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
채택된 답변
추가 답변 (1개)
David Sanchez
2013년 5월 23일
n=6;
my_seq=linspace(1,n,n)
my_seq =
1 2 3 4 5 6
카테고리
도움말 센터 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!