SNN脉冲神经网络中的IF神经元脉冲仿真.matlab2021a运行测试仿真
dt = 0.1; %time step [ms] Detat
t_time =100; %total time of run [ms]
V_th =10; %spike threshold [mV]
V0= 1; %resting membrane potential [mV]
R_m =10; %membrane resistance [MOhm]
tau =10; %membrane time constant [ms]
V_res =1; %value to reset voltage to after a spike [mV]
t_ref=0; %refractory time constant [ms]