You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
A very simple function that generates a set of uniformly-distributed random numbers restricted to be within a specified range. The code is trivial, but nonetheless useful to maximise whitespace in your own code if you need to perform this action regularly.
Cite As
mattpatten.au (2026). Generate bounded random numbers (https://www.mathworks.com/matlabcentral/fileexchange/71660-generate-bounded-random-numbers), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.2 (1.66 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
