image thumbnail

Herrera Method Roulette

version 1.3.0.0 (1.56 KB) by Gary Greet
A program to produce results for the Herrera Method of Roulette

272 Downloads

Updated 01 Aug 2014

View License

The Herrera Method involves placing one unit on red, two units on the first column, and two units on the second column. This is because the last column has only 4 reds on it. Total stake is 5 units, where the maximum return per spin is 8 units (3 units profit).
Basically, I just wanted to produce a program for this roulette method instead of tediously spinning over and over again on a real roulette wheel to see whether this method does actually work. I've decided to upload here just in case anyone searches for this method via Google so they can see accurate answers.
Updates:
- Random number generator now works perfectly.
- Can see funds after each spin.
- Can see the frequency at which each number the ball landed on.
- Can see the end funds after each loop if iterated more than once.
- Choice of graphs of all of the above!
- Select option 4 in the program to see all graphs on one subplot.
To come:
- Changes in code to make it shorter once I get the hang of MATLAB again.
- Be able to input starting money and unit size.
- More roulette strategies!

Bare in mind that I hadn't used MATLAB for about a year before making changes to the code. Seems to work fine, though.

Cite As

Gary Greet (2022). Herrera Method Roulette (https://www.mathworks.com/matlabcentral/fileexchange/37820-herrera-method-roulette), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

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

Start Hunting!