How can I consider the number of players, if I want to frmulate game theory in matlab ?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
omar th
am 26 Feb. 2022
Kommentiert: omar th
am 18 Apr. 2022
If I want to formulate a game according to game theory, I deployed number of random points,
so,Should I consider NumPoints as the number of players in the game or theta1 as Num of players?
NumPoints=10;
theta1 = rand(NumPoints, 1) * 2*pi; % distributed random number of Users
r1 = ro * sqrt(rand(NumPoints, 1));
PosP_x = r1 .* cos(theta1(:)) + center(:,1);
PosP_y = r1 .* sin(theta1(:)) + center(:,2);
PosP = [PosP_x,PosP_y];
1 Kommentar
Torsten
am 26 Feb. 2022
And what is the game ? Distributing NumPoints people randomly in a circle of radius ro ?
Akzeptierte Antwort
Walter Roberson
am 26 Feb. 2022
theta1 is obviously a list of random angles. An angle is not a player; an angle is something that might be chosen by a player.
Number of players is always a non-negative integer.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Strategy & Logic finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!