Generating random number, mathlab

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 日

0 投票

help rand
random_number = rand(1)

カテゴリ

ヘルプ センター および File ExchangeRandom Number Generation についてさらに検索

質問済み:

2019 年 12 月 10 日

回答済み:

2019 年 12 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by