UNMERGE

Purpose:

Unmerges (de-multiplexes) an interlaced series.

Syntax:

UNMERGE(series, n)

series

-

An interlaced (merged) series or array.

n

-

An integer. The number of interlaced series. Defaults to 2.

Returns:

A series or array.

Example:

W1: merge(gsin(100,.01),gnorm(100,.01),gsqr(100,.01,4))

W2: unmerge(W1, 3)

 

W1 contains one column of three interlaced series. W2 contains three columns where:

 

col(w2, 1) == gsin(100, .01)

col(w2, 2) == gnorm(100, .01)

col(w2, 3) == gsqr(100, .01, 4)

Remarks:

UNMERGE de-multiplexes an interlaced series. Each of the interlaced components must be of the same length.

See Also:

DECIMATE

MERGE

RAVEL

UNRAVEL