Skip to content
Prev 326350 / 398502 Next

R and MatLab implementations of the same model differs

On Jul 4, 2013, at 19:11 , Berend Hasselman wrote:

            
Also, the line

  iLeak_axon_AB <- gLeak_axon_AB*(v_axon_AB-ELeak_axon_AB)

differs from the Matlab code. Changing it gave me all-NA results, though. And the with() construct assumes that init and parms are named vectors; parms is not, so the values are taken from the global environment. It is not clear whether that makes a difference.