timeseries

Methods

Method Reference: timeseries.iqr

timeseries: v = iqr (ts)

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

Return the interquartile range of a series over time.

v = iqr (ts) returns the interquartile range of each data element over time, the quartiles placed by the (k - 0.5)/n rule, so v has the size of one sample; with 'time' weighting the cumulative weight takes the place of k. 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.median, timeseries.mean

Source Code: timeseries