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]
Citation pour cette source
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. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |