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

2 Ansichten (letzte 30 Tage)
friedl hulsmans
friedl hulsmans am 15 Nov. 2017
Kommentiert: Chandrasekhar am 15 Nov. 2017
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?

Antworten (1)

Chandrasekhar
Chandrasekhar am 15 Nov. 2017
>>randi([9.9775 10.0225])
  4 Kommentare
friedl hulsmans
friedl hulsmans am 15 Nov. 2017
thank you. This one works :)
Chandrasekhar
Chandrasekhar am 15 Nov. 2017
welcome, please accept the answer if it works :)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Random Number Generation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by