Generate uniform pseudo-random integers from linear range.

RAND_INT(R,N) returns an n-by-n matrix containing pseudo-random integer values from range R.

다운로드
다운로드

이 제출물을 팔로우합니다

인용 양식

DS (2026). Generate uniform pseudo-random integers from linear range. (https://kr.mathworks.com/matlabcentral/fileexchange/35324-generate-uniform-pseudo-random-integers-from-linear-range), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help Center 및 MATLAB Answers에서 Random Number Generation에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.4.0

Modified code included as detailed in previous update.

다운로드
1.3.0

Added a check for imaginary and non-integer range specifications. Thanks to Travis B for pointing out this edge-case behavior.

다운로드
1.2.0

Fixed help format to accommodate LOOKFOR queries.

다운로드
1.1.0

Thanks to Jan Simon for suggesting the use of numel instead of abusing the size function (see comments).

다운로드
1.0.0

다운로드