iteration of axial resistance
Posted: Thu Mar 17, 2011 9:32 am
Hi Ted!
I have a problem with the iteration of the axial resistance of the soma of my created cell. The code is the following:
for (j=0; j<=1; j=j+0.1){
stim.amp = j
for (i=1000; i>0; i=i-100){
soma.Ra = i
vec.record(&soma.v(0.5))
run()
z = vec.max()
print z
}
}
In the inner loop, the vec.max() values are the same. Only the iteration of the stimulus causes changes. What is the problem according to you?
Thank you for answer in advance!
I have a problem with the iteration of the axial resistance of the soma of my created cell. The code is the following:
for (j=0; j<=1; j=j+0.1){
stim.amp = j
for (i=1000; i>0; i=i-100){
soma.Ra = i
vec.record(&soma.v(0.5))
run()
z = vec.max()
print z
}
}
In the inner loop, the vec.max() values are the same. Only the iteration of the stimulus causes changes. What is the problem according to you?
Thank you for answer in advance!