rand_extended computes a random number in the interval [a,b]
rand_extended computes a random number in the interval [a,b]
It is basically an extended version of the command rand
Inputs:
a: the lower bound of the interval
b: the upper bound of the interval
m,n(optional): dimensions of the matrix of random numbers
to be generated
Outputs:
M: random number/matrix in the interval [a,b]
Cite As
Nassim Khaled (2024). rand_extended computes a random number in the interval [a,b] (https://www.mathworks.com/matlabcentral/fileexchange/32023-rand_extended-computes-a-random-number-in-the-interval-a-b), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
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.0 |