See the folder : 2pop_TimeSeries_MATLAB See parameter values in the caption of Fig. 4 start with run.m