Random Numbers Between Two Values
Version 1.0.0 (1.23 KB) by
Abdullah Almahous
Ranged random numbers between two values and with the possibility of setting duplicate numbers in the output matrix.
* 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 (2024). Random Numbers Between Two Values (https://www.mathworks.com/matlabcentral/fileexchange/71335-random-numbers-between-two-values), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2019a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Random Number Generation in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |