roulette wheel selection

版本 1.4.0.0 (794 字节) 作者: Rami AbouSleiman
roulette wheel selection, input is an array of probabilities, output is an index
2.9K 次下载
更新时间 2015/12/15

查看许可证

roulette wheel selection function, input is an array of probabilities or any positive number array, output is an index of the selection.
Function runs fast, any improvements on the speed are welcomed

引用格式

Rami AbouSleiman (2024). roulette wheel selection (https://www.mathworks.com/matlabcentral/fileexchange/45735-roulette-wheel-selection), MATLAB Central File Exchange. 检索时间: .

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

Community Treasure Hunt

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

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

figure added
Fixed the chances of outputting an empty matrix for when the inputs are between 0 and 1

1.3.0.0

Fixed the chances of outputting an empty matrix

1.2.0.0

Typo

1.1.0.0

typo in the description

1.0.0.0