Nonlinear Integrate-and-Firing neural model
v_rest=-70;v_th=-60;stimu_t=100; %ms 刺激的时间长度t=0:0.1:100;for i=2:1000tspan=t(i-1):0.01:t(i);%%%以步长为0.01ms计算0.1ms神经元动作电位的发放情况y0=[];y0(1,1)=unifrnd(v_rest,v_th,1,1);y0(1,2)=0.1*rand(1,1);vv(1)=u