Code covered by the BSD License
-
epsp_ipsp_gui(varargin)
EPSP_IPSP_GUI M-file for epsp_ipsp_gui.fig
-
run_example(varargin)
run_example M-file for run_example.fig
-
epsp(taur,tauf,dt,W,I, g, C)
taur: rise time
-
epsp_ipsp(eVal,iVal)
-
izhikevich2(v, u, a, b, c, d,...
IZHIKEVICH implements one step of the izhikevich neuron.
-
names.m
-
Contact.html
-
Credits.html
-
License.html
-
epsp.html
-
epsp_index.html
-
epsp_ipsp.html
-
flow_diagram.html
-
izhikevich2.html
-
mfile-list.html
-
run_example.html
-
sample-function.html
-
View all files
from
Excitatory and inhibitory post-synaptic potentials
by Massimiliano Versace
This code demonstrates Excitatory and Inhibitory Postsynaptic Potentials on a neuron.
|
| izhikevich2.html |
izhikevich2.m
function [outV, outU, spiked] = izhikevich2(v, u, a, b, c, d, input, dt)
%IZHIKEVICH implements one step of the izhikevich neuron.
%Works for vectors of neurons.
outV = v + dt * (0.04*v.^2 +5*v + 140 - u + input);
outU = u + dt * a*(b.*v - u);
spiked = zeros(length(v),1); %Initially no spikes detected
pos = find(outV>=30);
if ~isempty(pos)
outV(pos) = c;
outU(pos) = outU(pos) + d;
spiked = zeros(length(v),1);
spiked(pos) = 1;
end
|
|
Contact us at files@mathworks.com