How to generate random number generator in a nested loop
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
Rik
2020-6-28
Does there need to be a pattern in the randomness? Otherwise you can simply round the output of rand.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sonar and Spatial Audio 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!