WLJS LogoWLJS Notebook

TimeSeriesThread

TimeSeriesThread[f,{tseries1,tseries2,…}] combines the tseriesi using the function f.

Examples

Combine two time series by adding their values:

ts1 = TimeSeries[{1, 2, 3}, {0, 2}];
ts2 = TimeSeries[{4, 5, 6}, {0, 2}];
TimeSeriesThread[Plus, {ts1, ts2}]

Please visit the official Wolfram Language Reference for more details.

On this page