timeseries

Methods

Method Reference: timeseries.max

timeseries: v = max (ts)

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

Return the maximum of a series over time.

v = max (ts) returns the largest value of each data element over time, so v has the size of one sample; weighting leaves it unchanged. v keeps the class of the data, and is [] for a series with no samples. Where a value is left without samples it is NaN, and v is then double, as integer and logical classes hold no NaN.

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

See also: timeseries.min, timeseries.mean

Source Code: timeseries