opportunistic data offloading in wireless networks
no vote
%
% Example of computation of Stackelberg strategies for
% bimatrix games.
%
% Author: K. Passino
% Version: 2/5/02
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear all
% Set the number of different possible values of the decision variables
m=5; % If change will need to modify specific J1 value chosen below
n=3;
% Set the payoff matrices J1(i,j) and J2(i,j):
% For generating random bimatrix games:
J1=round(10*rand(m,n)-5*ones(m,n)) % Make it random integers between -5 and +5
J2=round(10*rand(m,n)-5*ones(m,n)) % Make it random integers between -5 and +5
% These can be used to find other equilibria. For instance, if you use the following two
% payoff matrices then you will get uniqueness in the response of P2.
J1 =[4 &nb