This is the repository for code supporting all of the analysis and figures related to Tafazoli et al, Building compositional tasks with shared neural subspaces, bioRxiv 2024,https://www.biorxiv.org/content/10.1101/2024.01.31.578263v1
MATLAB(2021b) or higher ver is required to run the scripts.
All main figrues can be generated by running GenerateAllTafazolietal2024Figures.m