Skip to content

Matlab code to simulate and analyse the Morris–Lecar model with self-coupling and delay.

License

Notifications You must be signed in to change notification settings

SlowinskiPiotr/MorrisLecarDDE

Repository files navigation

MorrisLecarDDE

Repository with code used to perform numerical bifurcation analysis and run simulations presented in: "Robust spike timing in an excitable cell with delayed feedback" (https://royalsocietypublishing.org/doi/10.1098/rsif.2021.0029)

The analysis was performed using the DDE-BIFTOOL v3.1.1 package (http://ddebiftool.sourceforge.net) in Matlab R2020a on macOS 10.14.6.

The code assumes familiarity with Matlab and the DDE-BIFTOOL package.

Any questions/ comments/ bugs please get in touch at [email protected]

Files and folders

  • simulations.m - matlab script with a code to simulate the Morris–Lecar model with self coupling and delay (Figure 1 F and G in the paper)
  • bifurcation_diagrams.m - matlab script with a code to perfrom numerical bifurcation analysis of the Morris–Lecar model with self coupling and delay (Figure 1 A-E in the paper)
  • br_plot3.m - modified function br_plot.m from DDE-BIFTOOL v3.1.1 to allow 3D plots of the branches
  • br_splot3.m - modified function br_splot.m from DDE-BIFTOOL v3.1.1 to allow 3D plots of the branches with stability information
  • System_Files - folder with matlab files that define the Morris–Lecar model with self coupling and delay (the files are required by the simulations.m and bifurcation_diagrams.m scripts)
  • Data - folder with data used in Figure 3 and Figures S1-S3
  • DynamicClamp - folder with code used by the dynamic clamp

About

Matlab code to simulate and analyse the Morris–Lecar model with self-coupling and delay.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published