Texas Holdem Win Probabilities
The CardAnalyze function estimates the probability of each player at a table of Texas Holdem winning the round.
Variable inputs are accepted for number of players, player's cards, cards on the table, and number of Monte Carlo iterations to use in estimating probabilities.
The function is able to operate at 3 levels of information
Standard:
Only one player's cards are known
Perfect:
All players' cards are known
Collusion:
Some of the players' cards are known, some are not.
A 1.7ghz dual core processor is able to calculate 10,000 iterations for 6 players in under 1 second.
Starting a matlab pool will yield a notable speed increase
'matlabpool local'
If speed is still a concern, over half the computational time is spent on the loop call of 'randpermut'. This would be an area to improve.
The original purpose of the function was to develop strategies for identifying player collusion via machine learning.
Cite As
Oliver Rice (2024). Texas Holdem Win Probabilities (https://www.mathworks.com/matlabcentral/fileexchange/36561-texas-holdem-win-probabilities), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |