Matlab script to run experiment for:
Bobadilla-Suarez, S., Sunstein, C. R. & Sharot, T. (2017). The intrinsic value of control: The propensity to under-delegate in the face of potential gains and losses. Journal of Risk and Uncertainty, 54(3), 187-202.
The gambling task code used was authored by Caroline Charpentier and can be found here.