MathGroup Archive 2011

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

Search the Archive

Re: Interpolation of a tabulated function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115562] Re: Interpolation of a tabulated function
  • From: "Ingolf Dahl" <ingolf.dahl at telia.com>
  • Date: Sat, 15 Jan 2011 04:42:26 -0500 (EST)

If I understand you right, your control points have coordinates xi and the
function values are yi = intFucn[xi] in the control points. Then
Interpolation should work, even for unequal intervals. There is an example
in the Help for Interpolation, that you might check:

Interpolation[{{0, 0}, {0.1, .3}, {0.5, .6}, {1, -.2}, {2, 3}}]

Best regards

Ingolf Dahl
Sweden



> -----Original Message-----
> From: girl17 [mailto:irexxy at gmail.com]
> Sent: den 14 januari 2011 12:17
> To: mathgroup at smc.vnet.net
> Subject: [mg115538] Interpolation of a tabulated function
> 
> 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: Re: fill in harberger triangle
  • Next by Date: Re: Interpolation of a tabulated function
  • Previous by thread: Re: Interpolation of a tabulated function
  • Next by thread: Re: Interpolation of a tabulated function