By what I can replace randint() function.
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Karthik K
le 20 Sep 2018
Réponse apportée : Steven Lord
le 20 Sep 2018
Here is a randint function, i am not having communication toolbox. How i can rewrite this statement. k = randint(1,1,10)+5;
0 commentaires
Réponse acceptée
Plus de réponses (1)
Steven Lord
le 20 Sep 2018
randi([5, 14], [1 1])
since randint(1, 1, 10) created a number in the range [0, 9].
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!