How can I get a random number between 9.9775 and 10.0225?

2 次查看(过去 30 天)
I would like to generate a monte carlo simulation. I need my input values to change randomly between 9.9775 and 10.0225. How can I progamme this in matlab?

回答(1 个)

Chandrasekhar
Chandrasekhar 2017-11-15
>>randi([9.9775 10.0225])
  4 个评论

请先登录,再进行评论。

类别

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