Derive

Returns the derivative dS. It is calculated using either forward or backward differences (specified in input dt) and is only defined for real signal.

If S is the signal with the abscissa x and channel y, then the i-th component of the result is defined by: (y[i+1]-y[i])/(x[i+1]-x[i])

Syntax

derive(S, dt)

Types
 Variable NameValue TypeVariable Type
Arguments:Srealsignal, xy-data
dt FORWARD, BACKWARD
Result:  real signal, xy-data
Calculator Input

Use the derive button to complete the operation.

Example
IDDescriptionTypeValueExpression
S REAL SIGNAL   signal([1,2,4,5,6],[1,2,5,6,7])
dfS Result REAL SIGNAL   derive(S, FORWARD)
dbS Result REAL SIGNAL   derive(S, BACKWARD)