You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The fourth MATLAB® Programming Contest, Mastermind®, ran from September 17-21, 2001.
The challenge was to write an algorithm to solve a variation of the classic Mastermind puzzle. Each entry did its best to determine unknown sequences of colored pegs.
This submission includes all the files needed to develop and score an entry, including the test suite we kept secret during the contest.
For more information, refer to http://www.mathworks.com/matlabcentral/contest/contests/8/rules.html
Nabeel Azar, Matthew Simoneau, and Ned Gulley were the biggest contributors to this code.
Cite As
The MATLAB Contest Team (2026). MATLAB Contest - Mastermind (https://uk.mathworks.com/matlabcentral/fileexchange/946-matlab-contest-mastermind), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: OKOMURA HATA, password security calculator, Angle of Incidence of a Tail-dragger, Trajectory of a Dropped Payload, Mastermind
General Information
- Version 1.2.0.1 (22.7 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
