Re:how can one use mathematica get the approximate derivative of {x,y} data points?
- To: mathgroup at smc.vnet.net
- Subject: [mg124274] Re:how can one use mathematica get the approximate derivative of {x,y} data points?
- From: "cedric.fuhrer" <cedric.fuhrer at laposte.net>
- Date: Sun, 15 Jan 2012 04:50:47 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
hello! you can do this too: pointsList = {{0.03512, -0.5},{0.0351181, -0.499},...{-0.113972, 0.699},{-0.115072, 0.7}} f = Interpolation[pointsList] then Plot[f'[x], {x,xmin,xmax}] ... or Integrate[f, x] or....all what you want to do with an other function. > Message du 14/01/12 09:26 > De : "Michael B. Heaney" > A : mathgroup at smc.vnet.net > Copie =C3 : > Objet : how can one use mathematica get the approximate derivative of {x,y} data points? > > Hi, > > I have a set of {x,y} data points: > > {{0.03512, -0.5}, {0.0351181, -0.499}, ... {-0.113972, 0.699}, {-0.115072, > 0.7}} > > These data points look like a function y=f(x) when plotted on the x-y axes. > However, I do not know what the function f(x) is. But I need to get the > approximate derivative df/dx, as another set of data points. How can one > use Mathematica to do this? > > Thanks, > > Michael > > -- > Une messagerie gratuite, garantie =C3 vie et des services en plus, =C3= =A7a vous tente ? Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net