This repository contains the MATLAB code necessary to replicate the figures from the research article Sensory-memory interactions via modular structure explain errors in visual working memory, published in eLife. You can read the full paper here.
The code in this repository implements the simulations and analyses presented in the paper. By running these scripts, you can reproduce all the figures in the manuscript.
To run the simulation and replicate the figures:
- Clone or download this repository to your local machine.
- Add the
sim_funfolder to your MATLAB path:Replaceaddpath('path_to_sim_fun_folder');path_to_sim_fun_folderwith the actual path where thesim_funfolder is located.
- MATLAB (version 2022b or later recommended)
If you use this code in your work, please cite the original paper: Jun Yang, Hanqi Zhang, Sukbin Lim (2024) Sensory-memory interactions via modular structure explain errors in visual working memory eLife 13:RP95160. https://doi.org/10.7554/eLife.95160.3
This project is licensed under the MIT License - see the LICENSE file for details.