generate floating random number within a range with a mean

1 次查看(过去 30 天)
Hi,
How can I generate 10 random numbers ranging between 0.1 to 0.3, having mean 0.2

回答(1 个)

Muhammad Usman Saleem
use rand() function

类别

Help CenterFile Exchange 中查找有关 Random Number Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by