Unmerges (de-multiplexes) an interlaced series.
UNMERGE(series, n)
series |
- |
An interlaced (merged) series or array. |
n |
- |
An integer. The number of interlaced series. Defaults to 2. |
A series or array.
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)
UNMERGE de-multiplexes an interlaced series. Each of the interlaced components must be of the same length.