Generating random number, mathlab

3 vues (au cours des 30 derniers jours)
Prince Igweze
Prince Igweze le 10 Déc 2019
Plese how can I generate a single uniformly distributed random number between 0 and 1
ie U(0,1)

Réponses (1)

Erivelton Gualter
Erivelton Gualter le 10 Déc 2019
help rand
random_number = rand(1)

Catégories

En savoir plus sur Random Number Generation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by