timeseries

Methods

Method Reference: timeseries.std

timeseries: v = std (ts)

timeseries: v = std (ts, name, value, …)

Return the standard deviation of a series over time.

v = std (ts) returns the standard deviation of each data element over time, normalised by N-1, so v has the size of one sample; with 'time' weighting it is taken about the time-weighted mean. v is double whatever the class of the data, and [] for a series with no samples.

The options, and where MATLAB differs, are given under timeseries.mean.

See also: timeseries.mean, timeseries.var

Source Code: timeseries