generate floating random number within a range with a mean

1 view (last 30 days)
Hi,
How can I generate 10 random numbers ranging between 0.1 to 0.3, having mean 0.2

Answers (1)

Muhammad Usman Saleem
Muhammad Usman Saleem on 4 Apr 2016
use rand() function

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!