fixed lif and noisefi projects

This commit is contained in:
2018-01-19 14:54:03 +01:00
parent eca31e3c95
commit c2e37b516e
5 changed files with 71 additions and 41 deletions

View File

@@ -58,7 +58,7 @@ time = [0.0:dt:tmax]; % t_i
\part Response of the passive membrane to a step input.
Set $V_0=0$. Construct a vector for the input $E(t)$ such that
$E(t)=0$ for $t\le 20$\,ms and $t\ge 70$\,ms and $E(t)=10$\,mV for
$E(t)=0$ for $t\le 20$\,ms or $t\ge 70$\,ms, and $E(t)=10$\,mV for
$20$\,ms $<t<70$\,ms. Plot $E(t)$ and the resulting $V(t)$ for
$t_{max}=120$\,ms.
@@ -92,7 +92,7 @@ time = [0.0:dt:tmax]; % t_i
spike'' only means that we note down the time of the threshold
crossing as a time where an action potential occurred. The
waveform of the action potential is not modeled. Here we use a
voltage threshold of one.
voltage threshold of 1\,mV.
Write a function that implements this leaky integrate-and-fire
neuron by expanding the function for the passive neuron
@@ -114,7 +114,6 @@ time = [0.0:dt:tmax]; % t_i
\label{firingrate}
r = \frac{n-1}{t_n - t_1}
\end{equation}
What do you observe? Does the firing rate encode the frequency of
the stimulus?
\end{parts}