Tools
- This Matlab live script simulates direct policy learning and forward-model-based learning under a mirror reversal as in Hadjiosif et al., 2021. You can specify model parameters (width and density of basis functions; asymptote adaptation level). It can be easily adjusted to simulate responses to different kinds of perturbations by adjusting lines 53 (for direct policy learning) and 153 (for forward-model-based learning).