Generate bounded random numbers
Versione 1.0.2 (1,66 KB) da
mattpatten.au
Generates uniformly distributed random numbers between two bounds.
A very simple function that generates a set of uniformly-distributed random numbers restricted to be within a specified range. The code is trivial, but nonetheless useful to maximise whitespace in your own code if you need to perform this action regularly.
Cita come
mattpatten.au (2025). Generate bounded random numbers (https://it.mathworks.com/matlabcentral/fileexchange/71660-generate-bounded-random-numbers), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2019a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Random Number Generation in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
