MathGroup Archive 2007

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

Search the Archive

Re: Evaluate a spline function


hi! Ivan,

You just do y[x] where x is any value in between the interpolated
points.

Cheers,

Raj

On Mar 8, 2:33 am, "Ivan" <darkna... at gmail.com> wrote:
> Hi,
> I have used the SplineFit to interpolate my data points for a curve
> y(x) and now
> would like to get the interpolated value between my data points.
> Is there a easy way to evaluate y(x) by directly inputting the value
> of x?
>
> i.e.
>
> y = SplineFit["data.dat",Cubic]
>
> how to get y(x) with x being the value of variable instead of the
> order of the data points.
>
> regards,




  • Prev by Date: Re: Multi-core Support in Mathematica 5.2
  • Next by Date: Re: Noob evaluation question
  • Previous by thread: Re: Evaluate a spline function
  • Next by thread: Multi-core Support in Mathematica 5.2