DrugowitschLab / MultiAlternativeDecisions

Code for Tajima et al. (2019). Optimal policy for multi-alternative decisions. Nature Neuroscience.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MultiAlternativeDecisions

Code for Tajima et al. (2019). Optimal policy for multi-alternative decisions. Nature Neuroscience.

Installation

All scripts are written in MATLAB and have been tested with MATLAB R2018b. They should also run on earlier versions of MATLAB.

To run the scripts, download them, extract them into a folder of your choice, and navigate to this folder within MATLAB.

Usage

To use any of the script in the fig folders, you need to first point MATLAB to the shared utility functions by calling

addpath('shared/')
addpath('shared/bads-1.0.4/')

at the MATLAB command line. See the individual fig folders for further usage instructions.

About

Code for Tajima et al. (2019). Optimal policy for multi-alternative decisions. Nature Neuroscience.

License:MIT License


Languages

Language:MATLAB 73.5%Language:Fortran 18.8%Language:HTML 3.9%Language:C++ 2.8%Language:Mathematica 0.7%Language:Makefile 0.2%Language:C 0.2%Language:CSS 0.0%