You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Returns a matrix of random elements drawn uniformly from within a specified set. Sampling can be done with or without replacement. (This function was intended to fill the role of RANDINT in the Comm Toolbox, which I no longer possess. No claims are made for correctness or efficiency.)
Cite As
David Fass (2026). MYRANDINT -- Random Integer Generation (https://se.mathworks.com/matlabcentral/fileexchange/5346-myrandint-random-integer-generation), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Random Integer Generator, Generate uniform pseudo-random integers from linear range.
General Information
- Version 1.0.0.0 (883 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Removed a bug that returned vectors of the wrong orientation. |
