Discrete random element selection based on a user-specified distribution
No License
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
Cite As
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. 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 |