Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #3180 > unrolled thread

Interpolation with known derivative values

Started byMauro <msmscarlatti@googlemail.com>
First post2011-06-18 23:54 +0000
Last post2011-06-18 23:54 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Interpolation with known derivative values Mauro <msmscarlatti@googlemail.com> - 2011-06-18 23:54 +0000

#3180 — Interpolation with known derivative values

FromMauro <msmscarlatti@googlemail.com>
Date2011-06-18 23:54 +0000
SubjectInterpolation with known derivative values
Message-ID<itjdrj$kvv$1@smc.vnet.net>
I need to interpolate the value of a function, given its exact values
and first derivatives at a set of points. I know how to do this with
Mathematica for polynomial interpolation - for example:

InterpolatingPolynomial[{{-0.212, 0.00234, 0.10912}, {-0.013, 0.0062,
0.48837}}, -0.05]

where -0.0212 is the coordinate of the first point, 0.00234 is the
value of the function there, and 0.10912 is the value of the first
derivative there, and -0.05 is the coordinate of the point at which I
am interpolating.

My question is: how do I use the Mathematica "Interpolation" function
for this same set of values?

I have tried

Interpolation[{{-0.212, 0.00234, 0.10912}, {-0.013, 0.0062, 0.48837}},
-0.05, Method -> "Spline"]

but I get the error "Interpolation::indim: The coordinates do not lie
on a structured tensor product grid."

Thanks.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web