how to generate 10 random numbers ( 0 to 1)

4 ビュー (過去 30 日間)
Piyush Kushwaha
Piyush Kushwaha 2020 年 9 月 18 日
編集済み: KSSV 2020 年 9 月 18 日
how to generate 10 random numbers ( 0 to 1). For ex.,
0.9865, 0.2376, 0.5743,…

回答 (1 件)

KSSV
KSSV 2020 年 9 月 18 日
編集済み: KSSV 2020 年 9 月 18 日
Read about rand.
iwant = rand(1,10)

カテゴリ

Help Center および File ExchangeRandom Number Generation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by