Solve a classic zero-sum matrix game.


Updated 3 Dec 2008

View License

The input to this function is a matrix A in which A(i,j) represents the payoff from the "column" player to the "row" player when the row player selects strategy i and the column player selects strategy j.

The outputs are [v,p] where v is the value of the game and p is a mixed strategy for the row player.

Cite As

Ed Scheinerman (2023). game_solve (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Number games in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Added (optional) third output variable which gives the mixed strategy for the column player.