Brandon Morgan
Followers: 0 Following: 0
Statistiques
2 Questions
0 Réponses
RANG
122 419
of 295 569
RÉPUTATION
0
CONTRIBUTIONS
2 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
0.0%
VOTES REÇUS
0
RANG
of 20 247
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 154 105
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
I have a random number generator when the input selects the interval length and only runs it if it is between 50 and 200. I was wondering how do I round the output of random numbers so that they are only integers?(ex. 0,1,2,3,4,5,6,7,8,9 )
n= input('Enter Vector Size'); if n>=50 && n<=200 R= [0,1,2,3,4,5,6,7,8,9]; z = rand(n,1)*range(R)+min(R) ...
environ 6 ans il y a | 1 réponse | 0
0
réponseQuestion
Can anyone explain or show how to do this?
Prompt the user to enter a second INTEGER number (num2) from the keyboard where 2≤num2 ≤15 and then determine how many terms in...
environ 6 ans il y a | 1 réponse | 0