Code covered by the BSD License  

Highlights from
game_solve

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 1.61 KB File ID: #22063

game_solve

by Ed Scheinerman

 

11 Nov 2008 (Updated 03 Dec 2008)

Solve a classic zero-sum matrix game.

| Watch this File

File Information
Description

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.

Required Products Optimization Toolbox
MATLAB release MATLAB 7.2 (R2006a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
03 Dec 2008

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

Tag Activity for this File
Tag Applied By Date/Time
matrix Cristina McIntire 12 Nov 2008 12:50:34
functions Cristina McIntire 12 Nov 2008 12:50:38
strategy Cristina McIntire 12 Nov 2008 12:50:49
zerosum matrix game Ed Scheinerman 12 Nov 2008 12:50:54
games Cristina McIntire 12 Nov 2008 14:01:20

Contact us at files@mathworks.com