image thumbnail

MYRANDINT -- Random Integer Generation

version 1.0.0.0 (883 Bytes) by David Fass
Random integers drawn uniformly from a specified set.

8.4K Downloads

Updated 13 Jul 2004

translation missing: en-US.gallery.no_license

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 (2022). MYRANDINT -- Random Integer Generation (https://www.mathworks.com/matlabcentral/fileexchange/5346-myrandint-random-integer-generation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!