3.5.1.1.23 IntegrateXY

Description

This function is used to integrate area under curve specified by vectors vx and vy. Missing values will be ignored.

Syntax

vector IntegrateXY(vector vx, vector vy)

Parameters

vx

The x coordinates of the curve for performing integration.

vy

The y coordinates of the curve for performing integration.

Return

Return the cumulative areas as dataset from the integration

Example

newbook;
col(a)={0:0.1:10};
col(b)=sqrt(10*col(a)-col(a)^2);
col(c)=IntegrateXY(col(a), col(b));
col(c)[C]\$ = "Area";