Generate bounded random numbers

Generates uniformly distributed random numbers between two bounds.
45 download
Aggiornato 28 mag 2019

Visualizza la licenza

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 Linux
Categorie
Scopri di più su Random Number Generation in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.2

Fixed some typos; simplified data checks.

1.0.1

Updated picture.

1.0.0