PO.Math.DataDiff


Description

Calculates derivative for data samples at point t with smoothing.

Syntax

=PO.Math.DataDiff(x_values, y_values, t, l)

Parameters

Parameter Description
x_values Sample points (N), strictly increasing.
y_values Sample values (N) of each segment starting at the corresponding sample point.
t One of x_values: the sample point at which to calculate the derivative.
l Smoothing, in the units of x_values: on each side of t the nearest sample at least l away is used. l=0 uses the adjacent samples. Where one side has none that far, the difference is one-sided; where neither has, it is an error.

Missing a formula? Suggest a New Formula