Computing the First Order Derivative with Central DifferenceΒΆ

Causal Step

This step applies the Central Difference method to approximate the first order derivative of a function or a time series. Note that step size(s) are known a priori for a time series.

Input Parameters

  1. A function or a time series
  2. Step size(s)

Output Parameters

  1. First derivative of a function or a time series

Workflow

../../../../../_images/workflow83.svg

Algorithm

Central Difference

References

  • R. L. Burden and J. D. Faires, Numerical Analysis, Fifth Edition, PWS Publishing Co. Boston, MA, 1993.