How to select a random number from set 5:20:2000?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Dayalram Dayalram
el 8 de Jun. de 2019
Editada: KALYAN ACHARJYA
el 8 de Jun. de 2019
How to select a random number from set 5:20:2000?
0 comentarios
Respuesta aceptada
KALYAN ACHARJYA
el 8 de Jun. de 2019
Editada: KALYAN ACHARJYA
el 8 de Jun. de 2019
idx=5:20:2000;
rand_num=idx(randi(length(idx)));
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Random Number Generation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!