Returns and plots a cashflow using the martingale system in roulette. in matlab

The following Matlab project contains the source code and Matlab examples used for returns and plots a cashflow using the martingale system in roulette. . % MARTINGALE returns and plots a cashflow using the Martingale system in roulette % % [outcomes] = martingale(initbet, betuntil, maxbet, gamblercash, % casinocash, betfactorfactor, totalnumberofbets, wheeltype) % % where: % % outcomes(:,1) cashflow of the casino % outcomes(:,2) cashflow of the gambler % outcomes(:,3) bets % % For instance, you can use the following values: % % initbet = 5; (initial bet) % betuntil = 17; (type of bet using the interval [0,37]) % maxbet = 10000; (maximum bet allowed on roulette table) % gamblercash = 1000; (maximum in total the gambler can spend) % casinocash = 1000000; (maximum in total the casino can spend) % betfactorfactor = 2; (when you double, use 2) % totalnumberofbets = 100; (total number of bets: stopping criterium) % wheeltype = 1 (1 = American, else French roulette) % output = 0; (1 = generate plots, else do not) % % It also plots three figures using outcomes.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
license.txt 1321
martingale.m 4717

SocialTags: