Re: How to Calculatelength of an Spline curve between two points?
- To: mathgroup at smc.vnet.net
- Subject: [mg104831] Re: How to Calculatelength of an Spline curve between two points?
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Wed, 11 Nov 2009 04:27:28 -0500 (EST)
- References: <hdbhcp$jj4$1@smc.vnet.net>
Assuming you want the distance between points at x1 and x2 *along the spline* my brute force approach would be something like: dx = 0.001; Sum[EuclideanDistance[{x, sp[x]}, {x + dx, sp[x + dx]}], {x, x1,x2, dx}] Cheers -- Sjoerd On Nov 10, 1:04 pm, alfaeco <alfa... at gmail.com> wrote: > I need some help. > > Given an Interpolating function with method-> Spline. > > sp = Interpolation[tbl, Method -> "Spline"]; > > How can I calculate the distance between two arbitrary points of the > splines?