Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. (Main simulation) Simulate tmax = 200 ms evolution of one HH neuron as defined in Box 1. Use the forward Euler algorithm with time
1. (Main simulation) Simulate tmax = 200 ms evolution of one HH neuron as defined in Box 1. Use the forward Euler algorithm with time step dt = 0.01 ms. Stimulate the neuron from time t0 = 40 ms with a constant current of amplitude I0 = 200 pA and lasting until tmax (i.e., Ie = 0 for t < 40 ms and Ie = I0 for t > 40 ms). Plot in the same figure but in different subplots: i) the membrane potential vs. time, ii) the total membrane current, Im = GL(V VL) GNam3h(V ENa) GKn 4 (V EK), vs. time, iii) the sodium conductance (=GNam3h) vs. time, iv) the potassium conductance (=GKn 4 ) vs. time, and v) the current Ie vs. time. Include the plot in your report. Matlab tip Use figure(1) and then start each plot with subplot(5,1,x), where x ranges from 1 to 5. 2. (Spike detection) Endow your code with a mechanism to detect each 'spike' (=action potential). To do so, you must decide on a critical value Vspk at which you might say that a spike has been emitted (values between 30 and 0 mV should be
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started