Real-Time Expressions: math.mean

Overview

math.mean performs a cumulative average of numerical values in a data stream.

Syntax

=math.mean([data stream])

Example

data_stream = (1, 2, 3, 4, 5, 6, 7)
=math.mean([data_stream])
creates a new data stream = (1, 1.5, 2, 2.5, 3, 3.5, 4)

Feedback and Knowledge Base