Random Number generation with defined decimal points
Ältere Kommentare anzeigen
I have a limit between 1.4 and 2.5, so i need ot generate random number between these limits.
Antworten (2)
Bhaskar R
am 6 Feb. 2020
num = ( 2.5 - 1.4)*rand + 1.4;
Walter Roberson
am 6 Feb. 2020
0 Stimmen
rand*1.1+1.4
Kategorien
Mehr zu Random Number Generation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!