How to create non-repetitive random integers
이전 댓글 표시
Hi,
As the title suggests I want to create non-repetitive random integers but don't know how to... say 70 integers ranging from 1 to 100. is there a straight way to do this?
thanks,
채택된 답변
추가 답변 (2개)
Richard Brown
2012년 4월 23일
randperm(100, 70)
Jan
2012년 4월 23일
1 개 추천
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!