” 7CCEMCHD程序语言 写作、 辅导Java程序Assignment 3 6CCE3CHD/7CCEMCHDNote: In all the problems, be mindful of the units of various quantities and the sign conventionsfor currents and voltages.Your submission must include:1. A .pdf file clearly documenting your code, figures, and results.2. Your code.There are three questions in this HW and you should submit three codes. We should be ableto run these three code Files and obtain all the figures for each of the three questions. You willlose credit if your code is Absent or cannot be run.Store your write-up and code in a single directory named hw1 yourID (for example hw1 12D423222)and submit it in Keats.Do not wait till the last minute to start the Assignment as you will require at least at least 8hours to complete all the questions.You may discuss the overall approach and high-level aspects with your group partners, butcodes and submitted documents should be your own.Late submission policy:Before the solution key is uploaded in Keats: If your original score is S and you submittedthe HW X hours after the deadline, your score will be S exp(X/24).After the solution Key is uploaded in Keats: 0 credit.In this assignment, we will study a simple case of a SNN receiving time-dependent inputs.Problem 1: Interconnected network of neurons with non-plastic synapsesThe connectivity relationship between the neurons can be represented by a N N matrix Wwhere wi,j is the strength of connection from neuron j to neuron i.(a) Write the connectivity matrix for the following 3-neuron, 9-synapse network: Neuron 1 receivesinput from Neuron 3 with a strength of 100. Neuron 2 receives input from Neuron 1 witha strength of 500. Neuron 3 receives input from both Neuron 1 and neuron 2 with a strength of300 and 200 respectively. 2 points(b) The spiking state of the neurons can be represented by a N 1 column vector, S. At anytime instant, if the kth neuron spikes, the kth entry of this column vector is 1, else it is 0.Assume that neuron 1 and 3 spiked at the same instant of time, t. For the simple case ofthe synaptic current kernel being a delta function, determine the product W S and convinceyourself that the resulting vector represents the current flowing into the neurons, based on theconnection strengths between them. 2 points(c) Now, we will study the dynamics of LIF neurons with non-plastic syanpses connectingthem to each other. In order to incorporate synaptic communication, we will require the followingmodifications. We will use the LIF neuron from HW 1, but with an extra term to incorporatethe synaptic current,(2)Hence, the post-synaptic current is generated in response to the spikes and has to be calculatedat every time instant based on all the previous instants of time when the pre-synapticneuron spiked. One way to efficiently determine this spike-driven synaptic current is to maintaina spike kernel matrix K(t) with dimensions [N,(T/t)](3)and then obtain the synaptic current Isyn(t) = W K(t).Simulate two neurons connected to each other through a synapse of weight w21 = 7 and I0 =7000 pA. The input neuron receives DC input Current of magnitude 2800 pA and with varyingtime durations as shown below (i.e., each ON pulse has a duration of 20, 40, 60, 80 and 100 ms,with 40 ms in between each of them, and Total duration of T = 500 ms). Plot all voltages andcurrents and explain the observed dynamics.Your code should be written for a general network of N neurons, whose connectivity is describedby the matrix W, and you are only allowed to iterate over time. 16 pointsProblem 2: Fully connected two neuron networkNow simulate the dynamics of a Two-neuron network, if the neurons are connected to eachother with synaptic weights w12 = w21 = 7. You should apply the waveform from problem 1,but with the first 4 ON pulses, and a total duration of T = 400 ms (i.e., input current is zero after320 ms). Plot all voltages and currents and explain the observed dynamics. 10 pointsProblem 3: Persistent signal detectorUsing the same input excitation from problem 1, design a three-neuron circuit which acts as apersistent signal Detector. You should determine the synaptic weights such that the output neuronspikes only if the pulse-width is more than 50 ms. 20 pointsProblem 4: Persistent signal detector with imperfect devicesTo implement the above design Efficiently, we could use nanoscale devices whose conductancecan be used to represent the weights. Using the function to translate the floating-pointweights to device level weights, run the network again, and determine the response. If you arenot able to get the desired Network behaviour, fine-tune the software weights or modify yournetwork design. 10 points如有需要,请加QQ:99515681 或邮箱:99515681@qq.com
“
添加老师微信回复‘’官网 辅导‘’获取专业老师帮助,或点击联系老师1对1在线指导。