How to generate a random number that is either 100, 200, or 300.
Mostra commenti meno recenti
Hello, I'm looking for a way to generate a random number that is either those 3 choices (nothing in between), utilizing only the rand, randi, round, floor, or ceil methods.
Risposta accettata
Più risposte (1)
Torsten
il 7 Ott 2022
0 voti
Hint:
100*1 = 100
100*2 = 200
100*3 = 300
Categorie
Scopri di più su MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!