[projects] fixed lif

This commit is contained in:
Jan Benda 2021-01-31 21:06:44 +01:00
parent cc1b550015
commit a7f864b4cd

View File

@ -50,8 +50,8 @@ time = [0.0:dt:tmax]; % t_i
and compute $V(t)$ for $t_{max}=50$\,ms. Plot $V(t)$ and compare it to
the expected result of $V(t) = \exp(-t/\tau)$.
Vary the time step $\Delta t$ by factors of 10 and discuss
accuracy of numerical solutions. What is a good time step?
Vary the time step $\Delta t$ by factors of 10 and discuss the
accuracy of the numerical solutions. What is a good time step?
Why is $V=0$ the resting potential of this neuron?
\part Response of the passive membrane to a step input.
@ -65,9 +65,9 @@ time = [0.0:dt:tmax]; % t_i
As an input we now use $E(t)=\sin(2\pi f t)$. Compute the time
course of the membrane potential in response to this input
($t_{max}=1$\,s). Vary the frequency $f$ between 1 and 100\,Hz. Be
careful with the units within the sine function --- $ft$ must be
unitless.
($t_{max}=1$\,s). Vary the frequency $f$ between 1 and 100\,Hz.
Be careful with the units within the sine function --- $f \cdot t$
must be unitless.
What do you observe?