Generating random number, mathlab

2 次查看(过去 30 天)
Plese how can I generate a single uniformly distributed random number between 0 and 1
ie U(0,1)

回答(1 个)

Erivelton Gualter
Erivelton Gualter 2019-12-10
help rand
random_number = rand(1)

Community Treasure Hunt

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

Start Hunting!

Translated by