Documentation

mean

Arithmetic average

Syntax

tsmean = mean(tsobj)

Description

tsmean = mean(tsobj) computes the arithmetic mean of all data in all series in tsobj and returns it in a structure tsmean. The tsmean structure contains field name(s) identical to the data series name(s).

Introduced before R2006a

Was this topic helpful?