DADiSP Worksheet Functions > Function Categories > Query Functions > SERSIZE

 

SERSIZE

Purpose:

Determines the length of a series as the number of data points.

Syntax:

SERSIZE(series)

series

-

Optional. A series, defaults to the current Window.

Returns:

An integer.

Example:

W1: {3, 5, 7}

sersize

 

returns 3.

 

W2: {3 + 4i, 7 + 4i, 2 + i}

sersize(W2)

 

returns 3.

Remarks:

Series length is usually available in the information box available by pressing [F2]. It is listed under "Num Samples."

 

SERSIZE is the same as the LENGTH macro.

See Also:

EXTRACT

LENGTH

NUMEL

SIZE