Generate random number between 0 and a non-integer value
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Matt
el 11 de Sept. de 2015
Comentada: Matt
el 11 de Sept. de 2015
For my project I need to generate a random number between 0 and a non-integer value (eg. 0.854, 2.534). How can I do that in Matlab?
0 comentarios
Respuesta aceptada
James Tursa
el 11 de Sept. de 2015
Editada: James Tursa
el 11 de Sept. de 2015
rand * your_non_integer_value
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices 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!