You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). roulette wheel selection (https://se.mathworks.com/matlabcentral/fileexchange/45735-roulette-wheel-selection), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Roulette Wheel Selection with Overall Iteration Result, RouletteWheelSelection.m
General Information
- Version 1.4.0.0 (794 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.4.0.0 | figure added
|
||
| 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 |
