Random Integer Generator

버전 1.1.0.0 (6.74 KB) 작성자: Edward Zechmann
This program quickly outputs n random integers in the specified range from a to b.
다운로드 수: 5.9K
업데이트 날짜: 2013/12/23

라이선스 보기

The program quickly outputs n random integers in the range from a to b. The integers are drawn from a uniform distribution to make selection of integers equally probable.

This program is intended to be especially quick with very large ranges of integers and selecting only a very small number of those integers.

User specifies whether output is sorted or random order.

User specifies whether to remove duplicate integers or to allow duplicate integers.

인용 양식

Edward Zechmann (2024). Random Integer Generator (https://www.mathworks.com/matlabcentral/fileexchange/18443-random-integer-generator), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2007b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Random Number Generation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Updated comments to fix error in the no_duplicates input argument description.

1.0.0.0

Added an option to plot the integers. The plot is helpful in visually inspecting the distribution of the output.