These codes generate the figures presented in the paper by Tajima, Drugowitsch & Pouget (2016) [1] and run some extended simulations.
CITATION:
[1] Satohiro Tajima*, Jan Drugowitsch*, and Alexandre Pouget. Optimal policy for value-based decision-making. Nature Communications, 7:12400, (2016). *Equally contributed.
USAGE: 'valueDecisionBoundaryRR.m' generates figures used in Figs. 3 or 6 in the paper. You can switch the utility function assumed in the model by removing commented-out lines in the code.