Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

SPILNE DATA

Status
Not open for further replies.

Fabien25

Bioengineer
Joined
Jan 31, 2007
Messages
6
Location
CA
Hi, I have created a spline and I need to access the X's values and the Y's values one bye one in order to use them in an other function. How can I do?

data_element create spline &
spline=(eval(.model_name//".SplineRodTorqueX011)) &
x= -180,-30,-12,-5,-1,0,1,5,12,30,180 &
y= -12,-6,-4,-2,-0.5,0,0.5,2,4,6,12 &
linear_extrapolate= yes &
units=no_units

Thanks a lot for your help
 
for var=ii start=1 end=(DB_COUNT("SplineRodTorqueX011"))
var set var=X_val real=(eval(SplineRodTorqueX011.xs[ii]))
end



Jesper Slattengren
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top