initialize normal random number generator

sets the state for Matlab's normal (Gaussian) random number generator
1.8K 次下载
更新时间 2009/5/13

查看许可证

initrandn() sets the state for Matlab's normal (Gaussian) random number generator. (Matlab has two generators-- 'rand' and 'randn'-- for uniform and normal random numbers, respectively. Each of these maintains its own state).

If the optional calling argument is missing, initrandn() prompts the user to enter a seed interactively. If the optional calling argument is present but is an empty matrix, or if the user input is empty, a default seed is generated based on the current date and time.

引用格式

Phillip M. Feldman (2024). initialize normal random number generator (https://www.mathworks.com/matlabcentral/fileexchange/24108-initialize-normal-random-number-generator), MATLAB Central File Exchange. 检索来源 .

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