![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13508797_1536589541452_DEF.jpg)
Brandon Morgan
Followers: 0 Following: 0
Estadística
2 Preguntas
0 Respuestas
CLASIFICACIÓN
172.388
of 292.770
REPUTACIÓN
0
CONTRIBUCIONES
2 Preguntas
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.0%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 19.936
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
of 147.944
CONTRIBUCIONES
0 Problemas
0 Soluciones
PUNTUACIÓN
0
NÚMERO DE INSIGNIAS
0
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Pregunta
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) ...
casi 6 años hace | 0 respuestas | 0
0
respuestasPregunta
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...
casi 6 años hace | 1 respuesta | 0