5 Ion Channel Simulation This question will deal with the same system as in the last...
5 Ion Channel Simulation This question will deal with the same system as in the last question; that is, k4 You will simulate many ion channels switching between on and off states, and then verify that your simulation results agree with your answers in Problem 4. If you are stuck, please efer to the hints. Simulation Steps (i) Start by initializing an array channels of size steps n-channels, where steps-10"3 and n_channels-103. steps is the mumber of time steps for our simulation, and n_channels is the number of channels we will be considering. Furthermore, we will denote the state of a channel as follows: 0 1 nth channel is open at time t nth channel is closed at time t channels (n,t) Make it so that all channels are initially open; that is, channels (1,:-0