<< imextrac Other integ2d >>

stftb >> stftb > Other > integ

integ

Approximate 1D integral of a discrete signal

Calling Sequence

SOM = integ(Y, X)

Parameters

Y :

N-vector (or MxN-matrix) to be integrated (along each row).

X :

N-vector containing the integration path of Y (default : 1:N)

SOM :

value (or Mx1 vector) of the integral

Description

integ approximates the integral of a discrete function given by the points (X(k),Y(k)) using trapezoidal approximation.

Examples

Y = altes(256,0.1,0.45,10000)'; X = (0:255);
SOM = integ(Y,X)

See also

Authors


Report an issue
<< imextrac Other integ2d >>