timeseries data sample size
timeseries
tsdatasize = getdatasamplesize(ts)
example
tsdatasize = getdatasamplesize(ts) returns the size of each data sample in a timeseries object ts.
ts
collapse all
Create a timeseries object from a 24-by-3 array of data and display the size of each data sample.
load count.dat ts = timeseries(count,[1:24]); tsdatasize = getdatasamplesize(ts)
tsdatasize = 1×2 1 3
Input timeseries, specified as a scalar.
Data Types: timeseries
You have a modified version of this example. Do you want to open this example with your edits?