![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13508797_1536589541452_DEF.jpg)
Brandon Morgan
Followers: 0 Following: 0
Statistica
2 Domande
0 Risposte
RANK
172.389
of 292.775
REPUTAZIONE
0
CONTRIBUTI
2 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.0%
VOTI RICEVUTI
0
RANK
of 147.945
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
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) ...
quasi 6 anni fa | 0 risposte | 0
0
risposteDomanda
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...
quasi 6 anni fa | 1 risposta | 0