MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Fitting data with Splines


How about something like this (I don't have the Mathematica handbook
in front of me, so I can't tell the exact syntax, but it may help you
on the way):

getysplinevalue[spline_List,x_] = Module[{index,y},
					 index=Position[spline,x];
					 y=spline[x];
					 y
					]

Well, at least the intrinsic function Position seems to be the key.

Anders Fostad. 	
									

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: How to change ( the blue ) frame color on X front-end ?
  • Next by Date: Should I buy 2.2.4?
  • Previous by thread: Re: Fitting data with Splines
  • Next by thread: Re: Fitting data with Splines