how to generate 10 random numbers ( 0 to 1)
Show older comments
how to generate 10 random numbers ( 0 to 1). For ex.,
0.9865, 0.2376, 0.5743,…
Answers (1)
Read about rand.
iwant = rand(1,10)
Categories
Find more on Random Number Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!