close all
clear all

resting = [0.3177 0.05290 0.5962 -59.995];

N = 50; %20; %nem megy fel
ySS = [];
for i=1:N
   ySS = [ySS resting]; 
end

ySS(4) = +20;
[t,y] = ode45('neuron_Vxx',[0,20],ySS);
figure
for i = 1:size(y,1)
    plot(y(i,4:4:end));
    ylim([-80, 60]);
    pause(0.01);
end