initialize normal random number generator

sets the state for Matlab's normal (Gaussian) random number generator
1,8K téléchargements
Mise à jour 13 mai 2009

Afficher la licence

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.

Citation pour cette source

Phillip M. Feldman (2026). initialize normal random number generator (https://fr.mathworks.com/matlabcentral/fileexchange/24108-initialize-normal-random-number-generator), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2009a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Random Number Generation dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.0.0.0