This code reproduces Figure 3 of the publication (Sequence learning and recall). To perform the simulation, open and run "Main_file_final.m" Parameters can be found/modified in "spiking_parameters_no_lambda.m" This code was written and run in MATLAB 2020a. Please direct any questions to iancone(at)rice(dot)edu.