Random complete and in complete numbers
显示 更早的评论
I have tried using Randi function,but it only gives me complete numbers.also tried rand but it doesn't give me to choose a specific range. Is there a function in matlab that would give me both complete and incomplete numbers in a specific range?I need to put this numbers in a matrix
采纳的回答
更多回答(1 个)
Steven Lord
2020-5-8
See the "Random Numbers Within Specified Interval" example on the documentation page for the rand function.
doc rand
类别
在 帮助中心 和 File Exchange 中查找有关 Random Number Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!