timeseries.getdatasamplesize
Return the size of one data sample.
📝Syntax
sz = getdatasamplesize(ts)
📥Input Arguments
Parameter Description
ts Input timeseries object.
📤Output Arguments
Parameter Description
sz Size of a single data sample.
📄Description

getdatasamplesize Reports the dimensions of a single sample, excluding the time dimension.

💡Examples
ts = timeseries([1 10; 2 20; 3 30], [1; 2; 3]);
getdatasamplesize(ts)
🔗See Also
timeseries
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub