A very simple random integer generator using rand().

A very simple random integer generator using rand().

You are now following this Submission

[just for educational purpose ;) !!]

Cite As

sunil anandatheertha (2026). A very simple random integer generator using rand(). (https://in.mathworks.com/matlabcentral/fileexchange/34655-a-very-simple-random-integer-generator-using-rand), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Improved the code in terms of handling different user inputs. The new code is also faster than the old code.

1.0.0.0