Re: Interpolation of a tabulated function
- To: mathgroup at smc.vnet.net
- Subject: [mg115580] Re: Interpolation of a tabulated function
- From: Peter Pein <petsie at dordos.net>
- Date: Sat, 15 Jan 2011 04:45:51 -0500 (EST)
- References: <igpbc2$f9g$1@smc.vnet.net>
On 14.01.2011 12:17, girl17 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? > intFucn = Interpolation[data]; should work.