Re: how can one use mathematica get the approximate derivative of {x,y} data points?
- To: mathgroup at smc.vnet.net
- Subject: [mg124324] Re: how can one use mathematica get the approximate derivative of {x,y} data points?
- From: "Scot T. Martin" <smartin at seas.harvard.edu>
- Date: Tue, 17 Jan 2012 03:21:21 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
Setting InterpolationOrder->1 within your Interpolation function, and you can often fix the undesirable outcome you have identified. ________________________________________ From: dr DanW [dmaxwarren at gmail.com] Sent: Monday, January 16, 2012 17:12 To: mathgroup at smc.vnet.net Subject: [mg124324] how can one use mathematica get the approximate derivative of {x,y} data points? The derivative curve you will get with Interpolation[]' can look very weird. I find I get better results using Interpolation[..., Method->"Spline"]'. The Spline function is continuous in first and second derivatives, so the resulting derivative is smoother. Daniel