Area

Returns the area below the curve of the signal S between xstart and xend (calculated with Trapezoidal method). The parameter xstart and xend are optional. The function area(S) returns the area below the curve of the whole signal S. If S is complex the result is complex with the result of the area function of the real part of S in the real component and the result of the area function of the imaginary part of S in the imaginary component. The return value is scalar if the first argument is xy-data, otherwise the function returns a vector.

If S is a signal with the abscissa x and channel y with n values, then the result is defined by

Syntax

area(S [,xstart,xend])

Types
 Variable NameValue TypeVariable Type
Arguments:Sreal, complexsignal, xy-data
Optional:xstart realscalar
xend realscalar
Result:  real, complex scalar, vector
Calculator Input

Use the area button to complete the operation.

Examples
IDDescriptionTypeValueExpression
S REAL SIGNAL   signal([1,2,4,5,6],[1,2,5,6,7])
aS Result REAL VECTOR (20.5) area(S)
aS2 Result REAL VECTOR (12.5) area(S,1.5,5)