how to generate 10 random numbers ( 0 to 1)

3 vues (au cours des 30 derniers jours)
Piyush Kushwaha
Piyush Kushwaha le 18 Sep 2020
Modifié(e) : KSSV le 18 Sep 2020
how to generate 10 random numbers ( 0 to 1). For ex.,
0.9865, 0.2376, 0.5743,…

Réponses (1)

KSSV
KSSV le 18 Sep 2020
Modifié(e) : KSSV le 18 Sep 2020
Read about rand.
iwant = rand(1,10)

Catégories

En savoir plus sur Random Number Generation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by