roulette wheel selection
Version 1.4.0.0 (794 Bytes) by
Rami AbouSleiman
roulette wheel selection, input is an array of probabilities, output is an index
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
Cite As
Rami AbouSleiman (2024). roulette wheel selection (https://www.mathworks.com/matlabcentral/fileexchange/45735-roulette-wheel-selection), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired: Roulette Wheel Selection with Overall Iteration Result, RouletteWheelSelection.m
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.