Question: Write a Matlab function that computes the value and security strategies (over mixed strategies) of a two player, two move, zero-sum game. The input/output


Write a Matlab function that computes the value and security strategies (over

Write a Matlab function that computes the value and security strategies (over mixed strategies) of a two player, two move, zero-sum game. The input/output syntax should be of the form: [P1, P2, V1, V2] Compute Value (M) where = P1 and P2 are the security strategies of player 1 and player 2 respectively. Both outputs should be vectors of dimension 2 1. V1 and V2 are the security levels of player 1 and player 2 respectively. M is a matrix of dimension 2 2 that captures the row player's payoff in the zero-sum game. HINT: A player's strategy can be expressed as a probability distribution (p, 1-p) since a player has only two moves. Feel free to consider discrete values for p of the form p = 0 : 0.01 : 1. Note that this discretization might mean that V1 and V2 are slightly different from the true value of the game.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The MATLAB function ComputeValue calculates ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!