Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

RE: Values from InterpolatingFunction



Try this:
Here is a possible definition for an interpolating function:
d=Sort@Table[{Random[Real,{0,0.365}],Random[]},{10}]
f[x_]=(Interpolation@d)[x]
Here is the derivative:
g[x_]=D[f[x],x]
Here is a list of points (might be outside the definition domain)
sp=Table[Random[Real,{0,0.365}],{5}] Here are the values at these
points: Map[g,sp]

Hope this helps,


**************************************** Jean-Marie THOMAS
Conseil et Audit en Inginierie de Calcul Strasbourg, France
**************************************** -----Original Message-----
From: Volker Doerr [mailto:vd@cascade.de] To: mathgroup@smc.vnet.net
Subject: [mg11855] [mg11847] Values from InterpolatingFunction


Hello to all,

I have the following

   InterpolatingFunction[{{0.,365.}},<>][t]

produced by Function D from another InterpolatingFunction, and want
simply to get the approximate values at specific  points. I cannot find
a direct solution, probably because  the function has symbolic form.

Anybody out there who can help me?

Thanx a lot,

V o l k e r
vd@cascade.de





  • Prev by Date: Re: Extracting parameters from NonlinearFit
  • Next by Date: Re: Phase portrait with arrows
  • Prev by thread: Re: Values from InterpolatingFunction
  • Next by thread: Re: Values from InterpolatingFunction