Integrate

Returns the antiderivative of S. It is calculated using either forward or backward sums (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

res[i] = res[i-1] + 0.5*(y[i+1]+y[i])*(x[i+1]-x[i])

Syntax

integrate(S, dt)

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

Use the integrate button to complete the operation.

Examples
IDDescriptionTypeValueExpression
S REAL SIGNAL   signal([1,2,4,5,6],[1,2,5,6,7])
ifS Result REAL SIGNAL   integrate(S, FORWARD)
ibS Result REAL SIGNAL   integrate(S, BACKWARD)