MATLAB to Python?
MATLABdude
matlab.dude at mbnet.fi
Mon Nov 22 03:47:50 EST 2010
On Nov 17, 10:53 am, Arnaud Delobelle <arno... at gmail.com> wrote:
> I guess that the step is supposed to be h, so you should write:
> xx = range(-kappa, kappa+1, h)
This is what I have in the source code:
---8<---8<---8<---8<---
h = 0.105069988414
xx = range(-kappa, kappa+1, h)
---8<---8<---8<---8<---
This is what Python says: ValueError: range() step argument must not
be zero
Can step not be a float value?
More information about the Python-list
mailing list