MathGroup Archive 2003

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

Search the Archive

Re: Finding derivatives of a list?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg40828] Re: Finding derivatives of a list?
  • From: Erich Mueller <emueller at mps.ohio-state.edu>
  • Date: Mon, 21 Apr 2003 06:53:40 -0400 (EDT)
  • Organization: Ohio State University
  • References: <b7qp61$3jq$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

There is no unique answer to this problem.  One simple
approach is to run an interpolation function through your data and take
its second derivative:

findsecder[dat_] :=
  Module[{interp = Interpolation[dat]}, interp'' /@ dat[[All, 1]]]

Here dat is a list of pairs such as {{0,0},{1,1},{2,4},{3,9}}. You may
want to try various InterpolationOrders

Erich

On Sat, 19 Apr 2003, AES/newspost wrote:

> Specific problem is how to generate a list of values of the second
> derivative of a relatively smooth function at a set of equally spaced
> points, when the function itself is known only as a list of numerical
> values at those same points?
>
> --
> "Power tends to corrupt.  Absolute power corrupts absolutely."
> Lord Acton (1834-1902)
> "Dependence on advertising tends to corrupt.  Total dependence on
> advertising  corrupts totally." (today's equivalent)
>
>



  • Prev by Date: RE: data fitting function
  • Next by Date: Re: Finding derivatives of a list?
  • Previous by thread: Re: Finding derivatives of a list?
  • Next by thread: Re: Finding derivatives of a list?