Generating random number, mathlab

1 view (last 30 days)
Prince Igweze
Prince Igweze on 10 Dec 2019
Answered: Erivelton Gualter on 10 Dec 2019
Plese how can I generate a single uniformly distributed random number between 0 and 1
ie U(0,1)

Answers (1)

Erivelton Gualter
Erivelton Gualter on 10 Dec 2019
help rand
random_number = rand(1)

Categories

Find more on Random Number Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!