You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
RANDOM takes the advantage of RAND basic function to generate random entries, chosen from a uniform distribution on the non-continuous domain defined by several intervals.
RANDOM with no input arguments is the same as RAND.
RANDOM(D) generates one random number on the domain D, where D is (Nx2)-real matrix defining N non-intersected intervals.
RANDOM(D, N) is an N-by-N matrix with random entries, chosen from a uniform distribution on the domain defined by D.
RANDOM(D,M,N) and RANDOM(D, [M,N]) are M-by-N matrices with random entries on the domain defined by D.
RANDOM(D,M,N,P,...) or RANDOM(D,[M,N,P,...]) generate random arrays on the domain defined by D.
Cite As
Alex Bar-Guy (2026). RANDOM (https://se.mathworks.com/matlabcentral/fileexchange/2848-random), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.15 KB)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Bug fix: Crash using RANDOM(D) was corrected |
