Discrete random element selection based on a user-specified distribution

版本 1.0.0.0 (563 字节) 作者: Christopher
Returns random elements from a set of discrete points according to a user-specified distribution.
721.0 次下载
更新时间 2009/3/24

无许可证

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

引用格式

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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0