Posted:

**Mon Jun 09, 2008 11:10 pm**Der Ted and Coaster.

This had been a really great topic. I downloaded the ecstim.zip and played around with it. After that I still have two questions which I hope you could explain to me.

1) Simply changing the axon length to 5 cm in the toymodel.hoc file results in a flat line (-65mV) in the voltage plot. Using smaler values shows that the voltage effect decreases with increased length. Why does the lenght of the axon has that effect?

Thank you.

This had been a really great topic. I downloaded the ecstim.zip and played around with it. After that I still have two questions which I hope you could explain to me.

1) Simply changing the axon length to 5 cm in the toymodel.hoc file results in a flat line (-65mV) in the voltage plot. Using smaler values shows that the voltage effect decreases with increased length. Why does the lenght of the axon has that effect?

2) Changing the stim.hoc file so that there are two stimulations does not change my voltage plot.create axon

access axon

nseg = 3

L = 50000

diam = 1

insert hh

I hope you could help me understand both of the questions.NUMPTS = 10

tvec = new Vector(NUMPTS)

pvec = new Vector(NUMPTS)

PMAX = 40 // found by trial and error to elicit a spike

{ tvec.x[0]=0 pvec.x[0]=0 } // field is 0 for 1 ms

{ tvec.x[1]=1 pvec.x[1]=0 }

{ tvec.x[2]=1 pvec.x[2]=PMAX } // jumps to some value

{ tvec.x[3]=2 pvec.x[3]=PMAX } // for 1 ms

{ tvec.x[4]=2 pvec.x[4]=0 } // falls back to 0 ever after

{ tvec.x[5]=3 pvec.x[5]=0 } // falls back to 0 ever after

{ tvec.x[6]=3 pvec.x[6]=PMAX } // jumps to some value

{ tvec.x[7]=4 pvec.x[7]=PMAX } // f for 1 ms

{ tvec.x[8]=4 pvec.x[8]=0 } // falls back to 0 ever after

{ tvec.x[9]=5 pvec.x[9]=0 } // falls back to 0 ever after

Thank you.