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 Name | Value Type | Variable Type | ||
---|---|---|---|---|
Arguments: | S | real | signal, xy-data | |
dt | FORWARD, BACKWARD | |||
Result: | real | signal, xy-data |
Calculator Input
Use the
button to complete the operation.Example
ID | Description | Type | Value | Expression | |
---|---|---|---|---|---|
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) |