Blackjack

Play individual hands of the card game, or simulate a session.
9.9K Downloads
Updated 1 Sep 2016

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Blackjack is now also descibed in a Cleve's Corner article in MathWorks News and Notes, http://www.mathworks.com/company/newsletters/articles/simulating-blackjack-with-matlab.html .
One of the less mathematical programs from an electronic textbook, "Numerical Computing with MATLAB®", by Cleve Moler. The book, and more programs, are available from http://www.mathworks.com/moler. A hardcopy edition of the book is available from SIAM.

Cite As

Cleve Moler (2026). Blackjack (https://au.mathworks.com/matlabcentral/fileexchange/4404-blackjack), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Card games in Help Center and MATLAB Answers
Acknowledgements

Inspired: YCP Blackjack, Blackjack computational kernel

Version Published Release Notes
1.2.0.1

Updated license

1.2.0.0

Rewrite of program to improve handling of callbacks.

1.0.0.0