Mersenne Twister

버전 1.5.0.1 (6.06 KB) 작성자: Peter Perkins
Mersenne Twister uniform pseudo-random number generator.
다운로드 수: 5.9K
업데이트 날짜: 2016/9/1

라이선스 보기

NOTE: Beginning in V7.1 (R14SP3), MATLAB® includes built-in support for the Mersenne Twister. The mex file here is only needed for versions prior to that.
TWISTER produces pseudo-random numbers using the Mersenne Twister algorithm by Nishimura and Matsumoto, and is an alternative to the built-in function RAND in MATLAB. It creates double precision values in the closed interval [0, 1-2^(-53)], and can generate 2^19937 - 1 values before repeating itself.

This is a Mex file implementation derived from a copyrighted C program by Takuji Nishimura and Makoto Matsumoto. See, e.g., http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html

Reference: M. Matsumoto and T. Nishimura, "Mersenne Twister: A 623-Dimensionally Equidistributed Uniform Pseudo-Random Number Generator", ACM Transactions on Modeling and Computer Simulation, Vol. 8, No. 1, January 1998, pp 3--30.

인용 양식

Peter Perkins (2024). Mersenne Twister (https://www.mathworks.com/matlabcentral/fileexchange/6614-mersenne-twister), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R14
모든 릴리스와 호환
플랫폼 호환성
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.5.0.1

Updated license

1.5.0.0

Copyrights.

1.3.0.0

Add copyright.

1.2.0.0

Cleaned up file header information.

1.1.0.0

Removed binaries.

1.0.0.0

Added authorship notice.