#  Tools 

 



- This Matlab live script simulates direct policy learning and forward-model-based learning under a mirror reversal as in [Hadjiosif et al., 2021](https://www.jneurosci.org/content/jneuro/41/12/2747.full.pdf). 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).



 

---

 Attachments- [  snippet\_folder  simulate\_adaptation\_live.zip ](/sites/g/files/omnuum1446/files/2024-07/simulate_adaptation_live.zip)
 
---