[Matlab]Desperate help with a simple code.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hadi
el 20 de Oct. de 2014
Comentada: Hadi
el 20 de Oct. de 2014
How Can I generate 1,000,000 random integers with range of [5 -----> 18] in a square matrix using the randi fucntion? Thank you.
0 comentarios
Respuesta aceptada
Roger Stafford
el 20 de Oct. de 2014
Editada: Roger Stafford
el 20 de Oct. de 2014
M = randi([5,18],1000);
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!