game_solve

Solve a classic zero-sum matrix game.
1.5K Downloads
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 (2026). game_solve (https://www.mathworks.com/matlabcentral/fileexchange/22063-game_solve), MATLAB Central File Exchange. Retrieved .

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

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

1.0.0.0