Delta

Signature

Delta(expression)

Description

Calculates the differences between two adjacent samples of a given signal. As the first signal sample has no previous sample, the first returned sample has the same value as the first signal sample, but is marked with the "No Value" flag. Defined as `Delta(signal) := signal - State.Register(signal, 0(NoValue))`.

Result

The difference between two adjacent samples of a given signal.

Arguments

 

expression

The signal for which the differences are calculated.