How to generate random number generator in a nested loop
Mostrar comentarios más antiguos
Hi! I’m new to matlab. I’m actually taking a course on cellular network and for an assignment I need to generate random 0 and 1 for data or voice connection in a nested loop.. it is a relatively large code and I want to get it checked by someone proficient in matlab.. please help
4 comentarios
Hank
el 28 de Jun. de 2020
please share the code
KSSV
el 28 de Jun. de 2020
x = rand ;
x is a random number.
Rik
el 28 de Jun. de 2020
Does there need to be a pattern in the randomness? Otherwise you can simply round the output of rand.
Mariam Ali
el 28 de Jun. de 2020
Respuestas (0)
Categorías
Más información sobre Sonar and Spatial Audio en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!