mean

Arithmetic average

mean will be removed in a future release. Use timetable instead. For more information, see Convert Financial Time Series Objects fints to Timetables.

Syntax

tsmean = mean(tsobj)

Description

tsmean = mean(tsobj) computes the arithmetic mean of all data in all series in the financial time series object (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