A very simple random integer generator using rand().

A very simple random integer generator using rand().
336 Downloads
Updated 5 Feb 2012

View License

[just for educational purpose ;) !!]

Cite As

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

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Creating and Concatenating Matrices in Help Center and MATLAB Answers
Version Published Release Notes
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