diff --git a/LAB1/images/accomodation_membrane_potential.png b/LAB1/images/accomodation_membrane_potential.png index 2af9a08..e583366 100644 Binary files a/LAB1/images/accomodation_membrane_potential.png and b/LAB1/images/accomodation_membrane_potential.png differ diff --git a/LAB1/images/accomodation_phase_portrait.png b/LAB1/images/accomodation_phase_portrait.png index 21b098a..be3b012 100644 Binary files a/LAB1/images/accomodation_phase_portrait.png and b/LAB1/images/accomodation_phase_portrait.png differ diff --git a/LAB1/images/bistability_membrane_potential.png b/LAB1/images/bistability_membrane_potential.png index 09ba2d2..72d20a0 100644 Binary files a/LAB1/images/bistability_membrane_potential.png and b/LAB1/images/bistability_membrane_potential.png differ diff --git a/LAB1/images/bistability_phase_portrait.png b/LAB1/images/bistability_phase_portrait.png index f78b5fd..352afec 100644 Binary files a/LAB1/images/bistability_phase_portrait.png and b/LAB1/images/bistability_phase_portrait.png differ diff --git a/LAB1/images/class_1_membrane_potential.png b/LAB1/images/class_1_membrane_potential.png index bfdd1f0..9dd6691 100644 Binary files a/LAB1/images/class_1_membrane_potential.png and b/LAB1/images/class_1_membrane_potential.png differ diff --git a/LAB1/images/class_1_phase_portrait.png b/LAB1/images/class_1_phase_portrait.png index a43fa88..4bcfedd 100644 Binary files a/LAB1/images/class_1_phase_portrait.png and b/LAB1/images/class_1_phase_portrait.png differ diff --git a/LAB1/images/class_2_membrane_potential.png b/LAB1/images/class_2_membrane_potential.png index dbcf981..4d641f4 100644 Binary files a/LAB1/images/class_2_membrane_potential.png and b/LAB1/images/class_2_membrane_potential.png differ diff --git a/LAB1/images/class_2_phase_portrait.png b/LAB1/images/class_2_phase_portrait.png index c414a49..30ceb82 100644 Binary files a/LAB1/images/class_2_phase_portrait.png and b/LAB1/images/class_2_phase_portrait.png differ diff --git a/LAB1/images/dap_membrane_potential.png b/LAB1/images/dap_membrane_potential.png index 3cf9704..0f22974 100644 Binary files a/LAB1/images/dap_membrane_potential.png and b/LAB1/images/dap_membrane_potential.png differ diff --git a/LAB1/images/dap_phase_portrait.png b/LAB1/images/dap_phase_portrait.png index 44fb321..5ad865a 100644 Binary files a/LAB1/images/dap_phase_portrait.png and b/LAB1/images/dap_phase_portrait.png differ diff --git a/LAB1/images/inhibition_induced_bursting_membrane_potential.png b/LAB1/images/inhibition_induced_bursting_membrane_potential.png index 4724c64..7807461 100644 Binary files a/LAB1/images/inhibition_induced_bursting_membrane_potential.png and b/LAB1/images/inhibition_induced_bursting_membrane_potential.png differ diff --git a/LAB1/images/inhibition_induced_bursting_phase_portrait.png b/LAB1/images/inhibition_induced_bursting_phase_portrait.png index 18f7ea1..183368f 100644 Binary files a/LAB1/images/inhibition_induced_bursting_phase_portrait.png and b/LAB1/images/inhibition_induced_bursting_phase_portrait.png differ diff --git a/LAB1/images/inhibition_induced_spiking_membrane_potential.png b/LAB1/images/inhibition_induced_spiking_membrane_potential.png index 05e7864..69398ee 100644 Binary files a/LAB1/images/inhibition_induced_spiking_membrane_potential.png and b/LAB1/images/inhibition_induced_spiking_membrane_potential.png differ diff --git a/LAB1/images/inhibition_induced_spiking_phase_portrait.png b/LAB1/images/inhibition_induced_spiking_phase_portrait.png index 9a57f18..1cb6b0a 100644 Binary files a/LAB1/images/inhibition_induced_spiking_phase_portrait.png and b/LAB1/images/inhibition_induced_spiking_phase_portrait.png differ diff --git a/LAB1/images/mixed_mode_membrane_potential.png b/LAB1/images/mixed_mode_membrane_potential.png index 78ed87c..c9d0952 100644 Binary files a/LAB1/images/mixed_mode_membrane_potential.png and b/LAB1/images/mixed_mode_membrane_potential.png differ diff --git a/LAB1/images/mixed_mode_phase_portrait.png b/LAB1/images/mixed_mode_phase_portrait.png index 62690be..72917ed 100644 Binary files a/LAB1/images/mixed_mode_phase_portrait.png and b/LAB1/images/mixed_mode_phase_portrait.png differ diff --git a/LAB1/images/phasic_bursting_membrane_potential.png b/LAB1/images/phasic_bursting_membrane_potential.png index 69876f6..fc322b7 100644 Binary files a/LAB1/images/phasic_bursting_membrane_potential.png and b/LAB1/images/phasic_bursting_membrane_potential.png differ diff --git a/LAB1/images/phasic_bursting_phase_portrait.png b/LAB1/images/phasic_bursting_phase_portrait.png index 00856a5..c3e228a 100644 Binary files a/LAB1/images/phasic_bursting_phase_portrait.png and b/LAB1/images/phasic_bursting_phase_portrait.png differ diff --git a/LAB1/images/phasic_spiking_membrane_potential.png b/LAB1/images/phasic_spiking_membrane_potential.png index 0040897..56e6b26 100644 Binary files a/LAB1/images/phasic_spiking_membrane_potential.png and b/LAB1/images/phasic_spiking_membrane_potential.png differ diff --git a/LAB1/images/phasic_spiking_phase_portrait.png b/LAB1/images/phasic_spiking_phase_portrait.png index 41516c5..2199185 100644 Binary files a/LAB1/images/phasic_spiking_phase_portrait.png and b/LAB1/images/phasic_spiking_phase_portrait.png differ diff --git a/LAB1/images/rebound_burst_membrane_potential.png b/LAB1/images/rebound_burst_membrane_potential.png index e8be80d..0550bed 100644 Binary files a/LAB1/images/rebound_burst_membrane_potential.png and b/LAB1/images/rebound_burst_membrane_potential.png differ diff --git a/LAB1/images/rebound_burst_phase_portrait.png b/LAB1/images/rebound_burst_phase_portrait.png index cc9ad10..f6f8de8 100644 Binary files a/LAB1/images/rebound_burst_phase_portrait.png and b/LAB1/images/rebound_burst_phase_portrait.png differ diff --git a/LAB1/images/rebound_spike_membrane_potential.png b/LAB1/images/rebound_spike_membrane_potential.png index 332e732..f87b070 100644 Binary files a/LAB1/images/rebound_spike_membrane_potential.png and b/LAB1/images/rebound_spike_membrane_potential.png differ diff --git a/LAB1/images/rebound_spike_phase_portrait.png b/LAB1/images/rebound_spike_phase_portrait.png index b91b7ab..aeb6664 100644 Binary files a/LAB1/images/rebound_spike_phase_portrait.png and b/LAB1/images/rebound_spike_phase_portrait.png differ diff --git a/LAB1/images/resonator_membrane_potential.png b/LAB1/images/resonator_membrane_potential.png index 7254d2f..5914f5a 100644 Binary files a/LAB1/images/resonator_membrane_potential.png and b/LAB1/images/resonator_membrane_potential.png differ diff --git a/LAB1/images/resonator_phase_portrait.png b/LAB1/images/resonator_phase_portrait.png index 216a498..34ce87c 100644 Binary files a/LAB1/images/resonator_phase_portrait.png and b/LAB1/images/resonator_phase_portrait.png differ diff --git a/LAB1/images/spike_freq_adapt_membrane_potential.png b/LAB1/images/spike_freq_adapt_membrane_potential.png index 3026ea4..c0282ea 100644 Binary files a/LAB1/images/spike_freq_adapt_membrane_potential.png and b/LAB1/images/spike_freq_adapt_membrane_potential.png differ diff --git a/LAB1/images/spike_freq_adapt_phase_portrait.png b/LAB1/images/spike_freq_adapt_phase_portrait.png index 30fb095..96a7fe6 100644 Binary files a/LAB1/images/spike_freq_adapt_phase_portrait.png and b/LAB1/images/spike_freq_adapt_phase_portrait.png differ diff --git a/LAB1/images/spike_latency_membrane_potential.png b/LAB1/images/spike_latency_membrane_potential.png index bce421c..71f93b2 100644 Binary files a/LAB1/images/spike_latency_membrane_potential.png and b/LAB1/images/spike_latency_membrane_potential.png differ diff --git a/LAB1/images/spike_latency_phase_portrait.png b/LAB1/images/spike_latency_phase_portrait.png index b2939a7..c6b498d 100644 Binary files a/LAB1/images/spike_latency_phase_portrait.png and b/LAB1/images/spike_latency_phase_portrait.png differ diff --git a/LAB1/images/subthresh_osc_membrane_potential.png b/LAB1/images/subthresh_osc_membrane_potential.png index de8c523..982f8d8 100644 Binary files a/LAB1/images/subthresh_osc_membrane_potential.png and b/LAB1/images/subthresh_osc_membrane_potential.png differ diff --git a/LAB1/images/subthresh_osc_phase_portrait.png b/LAB1/images/subthresh_osc_phase_portrait.png index 2ed78c7..cab5607 100644 Binary files a/LAB1/images/subthresh_osc_phase_portrait.png and b/LAB1/images/subthresh_osc_phase_portrait.png differ diff --git a/LAB1/images/thresh_variability_membrane_potential.png b/LAB1/images/thresh_variability_membrane_potential.png index 0adb25e..7a27364 100644 Binary files a/LAB1/images/thresh_variability_membrane_potential.png and b/LAB1/images/thresh_variability_membrane_potential.png differ diff --git a/LAB1/images/thresh_variability_phase_portrait.png b/LAB1/images/thresh_variability_phase_portrait.png index e18480d..0bf626d 100644 Binary files a/LAB1/images/thresh_variability_phase_portrait.png and b/LAB1/images/thresh_variability_phase_portrait.png differ diff --git a/LAB1/images/tonic_bursting_membrane_potential.png b/LAB1/images/tonic_bursting_membrane_potential.png index b20c0f4..5850152 100644 Binary files a/LAB1/images/tonic_bursting_membrane_potential.png and b/LAB1/images/tonic_bursting_membrane_potential.png differ diff --git a/LAB1/images/tonic_bursting_phase_portrait.png b/LAB1/images/tonic_bursting_phase_portrait.png index 5add1ff..215163a 100644 Binary files a/LAB1/images/tonic_bursting_phase_portrait.png and b/LAB1/images/tonic_bursting_phase_portrait.png differ diff --git a/LAB1/images/tonic_spiking_membrane_potential.png b/LAB1/images/tonic_spiking_membrane_potential.png index a5de33e..3c2e97c 100644 Binary files a/LAB1/images/tonic_spiking_membrane_potential.png and b/LAB1/images/tonic_spiking_membrane_potential.png differ diff --git a/LAB1/images/tonic_spiking_phase_portrait.png b/LAB1/images/tonic_spiking_phase_portrait.png index 3824ddd..b008e3d 100644 Binary files a/LAB1/images/tonic_spiking_phase_portrait.png and b/LAB1/images/tonic_spiking_phase_portrait.png differ diff --git a/LAB1/inhibition_induced_bursting.m b/LAB1/inhibition_induced_bursting.m index 784eeb5..b3634d9 100644 --- a/LAB1/inhibition_induced_bursting.m +++ b/LAB1/inhibition_induced_bursting.m @@ -1,6 +1,6 @@ % (T) inhibition induced bursting -a=-0.026; b=-1; c=-45; d=-0.7; % d=-0.7 instead of d=-2 +a=-0.026; b=-1; c=-45; d=-2; u=-63.8; w=b*u; us=[]; ws=[]; dus=[]; dws=[] tau=0.5; tspan=0:tau:350; diff --git a/LAB1/izhikevich.m b/LAB1/izhikevich.m index 5789e26..ca0947d 100644 --- a/LAB1/izhikevich.m +++ b/LAB1/izhikevich.m @@ -28,18 +28,20 @@ % Izhikevich equations if variant==0 % baseline equations of almost all neurons - du = tau * (0.04*u^2 + 5*u + 140 - w + I); - dw = tau * a*(b*u - w); + du = (0.04*u^2 + 5*u + 140 - w + I); + dw = a*(b*u - w); + u = u + tau * (0.04*u^2 + 5*u + 140 - w + I); + w = w + tau * a*(b*u - w); elseif variant==1 % variant of equations for neurons: (G) and (L) - du = tau * (0.04*u^2 + 4.1*u + 108 - w + I); - dw = tau * a*(b*u - w); + du = (0.04*u^2 + 4.1*u + 108 - w + I); + dw = a*(b*u - w); + u = u + tau * (0.04*u^2 + 4.1*u + 108 - w + I); + w = w + tau * a*(b*u - w); elseif variant==2 % variant of equations for neuron (R) - du = tau * (0.04*u^2 + 5*u + 140 - w + I); - dw = tau * a*(b*(u+65)); + du = (0.04*u^2 + 5*u + 140 - w + I); + dw = a*(b*(u+65)); + u = u + tau * (0.04*u^2 + 5*u + 140 - w + I); + w = w + tau * a*(b*(u+65)); end -% updating of variables -u = u + du; -w = w + dw; - end %end of function \ No newline at end of file