Fabien25
Bioengineer
- Jan 31, 2007
- 6
Hi, I have defined a spline and I need to evaluate an interpolated value from a variable.
data_element create spline &
spline=Spline name&
x= -180,-30,-10,-5,-0.5,0,0.5,5,10,30,180 &
y= -10,-6,-4,-2,-0.5,0,0.5,2,4,6,10 &
linear_extrapolate= yes &
units=no_units
var modify &
var = $_self.X &
real = eval(AKISPL((variable), 0,Spline name)) This expression desn't work. This error is "Invalid input. Enter a number.". I don't understand why.
Can you help me? Thanks
data_element create spline &
spline=Spline name&
x= -180,-30,-10,-5,-0.5,0,0.5,5,10,30,180 &
y= -10,-6,-4,-2,-0.5,0,0.5,2,4,6,10 &
linear_extrapolate= yes &
units=no_units
var modify &
var = $_self.X &
real = eval(AKISPL((variable), 0,Spline name)) This expression desn't work. This error is "Invalid input. Enter a number.". I don't understand why.
Can you help me? Thanks