Live_Script_Spiking​_Neurons

This code simulates the Izhikevich Model using the forward Euler method and MATLAB in-built ode solver
227 Downloads
Updated 22 Jan 2021
This project contains a Live Script and two Apps which simulate a well known model for spiking neurons that has been published and is acknowledged. The Live Script is intended as a demo for neuroscience audiences to showcase different Live Script capabilities such as Live Controls, Live Tasks, converting code to local functions, etc.
The Live Script demonstrates the spiking response of a neuron having certain membrane properties in response to the injection of an external current pulse. The user can modify the parameters. The first group of parameters deals with membrane parameters, whereas the second group changes the amplitude and width of the current pulse.
The differential equations defining the Izhikevich model are solved by two methods
1) with the forward Euler method, using a for loop
2) using the in-built MATLAB ode solver (requires Symbolic Math Toolbox)
Whereas the forward Euler is the simplest integration method, it is also the least accurate and stable. The user can choose between the two using a Live Control (drop down menu)
The Live Script is accompanied by two Apps, one using the forward Euler method and the other using the MATLAB in-built ode45 to solve the differential equations that define the model. To generate a Standalone App to share with those without a MATLAB license, compile the IzhikevichApp_Euler App.
To run this Live Script check if you have a MATLAB license from your school or university. If not, you can download a free trial for 30 days.
For a Japanese language version check out this entry

Cite As

Shubo Chakrabarti (2024). Live_Script_Spiking_Neurons (https://github.com/mathworks/Live_Script_Spiking_Neurons/releases/tag/v1.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.