How do I generate a random number in an interval?
23 views (last 30 days)
Show older comments
Is there a standard function in Matlab that can generate a random rational number in a certain interval?
e.g. ...([1,2]) => 1.35
...([0,4)] => 2.64
...([-3.2, 5.9]) => -3.84
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!