Discrete random element selection based on a user-specified distribution

Returns random elements from a set of discrete points according to a user-specified distribution.
721 download
Aggiornato 24 mar 2009

Nessuna licenza

The function takes as input a list of points (ids) and for each point a likelihood that it is selected randomly. The output is an array with random values which are distributed according to the input.

More information and example usage is provided at:
http://www.medical-image-processing.com/programming/discrete-random-element-selection-based-on-a-user-specified-probability

Cita come

Christopher (2024). Discrete random element selection based on a user-specified distribution (https://www.mathworks.com/matlabcentral/fileexchange/23412-discrete-random-element-selection-based-on-a-user-specified-distribution), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2008b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Creating and Concatenating Matrices 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.0.0