Random Numbers Between Two Values

Ranged random numbers between two values and with the possibility of setting duplicate numbers in the output matrix.

You are now following this Submission

* The function input Minn and Maxx are the range for the random numbers
* NumbOfRandRep is the number of random numbers duplicate in the matrix
* NumbsNeeded is the size of the matrix
* Output will be a column vector and the its size will be (NumbsNeeded x 1)

Cite As

Abdullah Almahous (2026). Random Numbers Between Two Values (https://www.mathworks.com/matlabcentral/fileexchange/71335-random-numbers-between-two-values), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Random Number Generation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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