Easily Simulate Custom Networks of LIF Neurons

Design and simulate your leaky integrate and fire (LIF) neuron network in only a few lines of code.

You are now following this Submission

In only a few lines of code you can customize and simulate a network of leaky integrate and fire neurons (LIF). This function facilitates quick testing of network architectures. The network can be simple, only specifying the weights of the connections between neurons, or complex with options ranging from offset currents, refractory periods, speed of synaptic transmission, noise, etc.
Usage notes, extensive examples, and sources are given in the help.

Cite As

Zachary Danziger (2026). Easily Simulate Custom Networks of LIF Neurons (https://www.mathworks.com/matlabcentral/fileexchange/50339-easily-simulate-custom-networks-of-lif-neurons), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Neural Simulation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1

% Bugfix: Updated accumarray call to output as many elements as there are
% neurons to avoid synamptic contribution errors when there are neurons in
% the network that have no connections to other neurons. ZC Danziger July 2020

1.0.0.0