initialize normal random number generator

sets the state for Matlab's normal (Gaussian) random number generator
1,8K download
Aggiornato 13 mag 2009

Visualizza la licenza

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.

Cita come

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. Recuperato .

Compatibilità della release di MATLAB
Creato con R2009a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Random Number Generation in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0