timeseries objects in time
timeseries objects, and append them by time. Display the time samples of the resulting
ts1 = timeseries(rand(5,1),[1 2 3 4 5]); ts2 = timeseries(rand(5,1),[6 7 8 9 10]); ts = append(ts1,ts2); ts.Time
ans = 10×1 1 2 3 4 5 6 7 8 9 10
ts1,ts2,…,tsN — Input
list of scalar
timeseries, specified as a list of scalar
timeseries objects to concatenate.
The last time sample of an input
timeseriesmust be earlier than or equal to the first time of the following
timeseriesin the list.
The sample size of each input
timeseriesmust be the same.