True Random Integer Generator

版本 1.0.0.1 (1.8 KB) 作者: Ameya Deoras
Download true (not pseudo-) random numbers from random.org's generator
3.2K 次下载
更新时间 2016/9/1

查看许可证

The function TRUERAND returns truly random integers using random.org's Random Integer Generator. According to random.org, the numbers are generated based on atmospheric noise and skew-corrected to generate uniform numbers. The generated numbers have been shown to pass the NIST tests for RNGs.
The range of numbers is -1e9 to 1e9 and the maximum number of values that can be generated is 10,000

USAGE:
truerand(rows,cols,min,max) returns a matrix of size rows-by-cols with random integers between min and max.

truerand(n,min,max) returns an n by 1 vector

truerand(n, m), truerand(n) and truerand use the default values min = 1, max = 100

EXAMPLES:
y = truerand
y = truerand(9)
y = truerand(6,6)
y = truerand(5,1,20)
y = truerand(3, 4, 15, 30)

For more information visit random.org

引用格式

Ameya Deoras (2024). True Random Integer Generator (https://www.mathworks.com/matlabcentral/fileexchange/21353-true-random-integer-generator), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
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.0.0.1

Updated license

1.0.0.0