MathGroup Archive 1996

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

Search the Archive

Re: Fitting data with Splines

  • Subject: [mg3225] Re: Fitting data with Splines
  • From: fostad at marin.unit.no (Anders Fostad)
  • Date: 19 Feb 1996 11:58:09 -0600
  • Approved: usenet@wri.com
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Norwegian University of Science and Technology, Trondheim, Norway
  • Sender: daemon at wri.com

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. 	
									


  • 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: Fitting data with Splines
  • Next by thread: Re: Fitting data with Splines