zero-sum game solved in Matlab

In Zero-Sum games, a player can win, only if the other player looses. Rock-paper-scissors is a typical example of a zero-sum game. These games can be solved with Linear Programming (LP) because the latter has duals. So, how to solve this game in Matlab? This post is an extension to my previous post dealing with LP. The problem is to minimize a function z = f(rock,paper,scissors) = f (x1,x2,x3) equal to some payoff value v, subject to the following game conditions:

-------->

to solve in Matlab, we must rearrange the constraints to include v as a variable (right). The game matrix is: