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


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

Interpolation with known derivative values

From Mauro <msmscarlatti@googlemail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Interpolation with known derivative values
Date 2011-06-18 23:54 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <itjdrj$kvv$1@smc.vnet.net> (permalink)

Show all headers | View raw


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.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web