MathGroup Archive 2011

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

Search the Archive

Re: Interpolation of a tabulated function

Sorry if I misunderstood the problem but would it be something like the

x=RandomReal[{0,10},{20}]; (*Generate random x*)

data=Transpose[{x,x^2}] (*The function is now y=x^2*)



It worked over here
Hope it helps,


On Fri, Jan 14, 2011 at 9:16 AM, girl17 <irexxy at> wrote:

> So, I have a list for tabulated function like that:
> {{x1,y1},{x2,y2},...,{xn,yn}}, where x(i+1)-xi are not equal for all i.
> I want to get an interpolated function for that array and to use this
> function in this way: intFucn[x], where x1<=x<=xn.
> I tried to use ListInterpolation[], but it works only for 1D lists, i.e. in
> case if x(i+1)-xi are equal for all i.
> Is there any solution for this problem?

  • Prev by Date: Jon McLoone presents Mathematica 8 in the Benelux at the CWI and Utrecht University
  • Next by Date: Re: DesignerUnits 2011-01-08 for Mathematica 8, 7, 6
  • Previous by thread: Re: Interpolation of a tabulated function
  • Next by thread: Re: Interpolation of a tabulated function