Herrera Method Roulette

A program to produce results for the Herrera Method of Roulette
276 Downloads
Updated 1 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 (2024). 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
Find more on Board games in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.3.0.0

The random number generator now runs between 1 and 37. Before, I made it between 1 and 38 which I assume is because I pressed the wrong number! Also added graphs with titles and axis labels.

1.2.0.0

Added graphs with titles and axis labels. Also fixed number generator as it was between 1 and 38 and there aren't 38 numbers in roulette! A 38 would be passed off though and have no influence.

1.1.0.0

*MASSIVELY UPDATED* Originally submitted 2 years ago, I returned to the file to make wholesale changes. The random number generated is now perfect. See description for more details.

1.0.0.0