how to generate 10 random numbers ( 0 to 1)

2 Ansichten (letzte 30 Tage)
Piyush Kushwaha
Piyush Kushwaha am 18 Sep. 2020
Bearbeitet: KSSV am 18 Sep. 2020
how to generate 10 random numbers ( 0 to 1). For ex.,
0.9865, 0.2376, 0.5743,…

Antworten (1)

KSSV
KSSV am 18 Sep. 2020
Bearbeitet: KSSV am 18 Sep. 2020
Read about rand.
iwant = rand(1,10)

Kategorien

Mehr zu Random Number Generation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by