Blackjack

Play individual hands of the card game, or simulate a session.

You are now following this Submission

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://se.mathworks.com/matlabcentral/fileexchange/4404-blackjack), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: YCP Blackjack, Blackjack computational kernel

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.1

Updated license

1.2.0.0

Rewrite of program to improve handling of callbacks.

1.0.0.0