Table Of Contents

Measures of Mean (Mean) (G Dataflow)

Version:
    Last Modified: January 9, 2017

    Computes the mean of the values in a sequence.

    connector_pane_image
    datatype_icon

    x

    Input sequence.

    This input can be an array of double-precision, floating-point numbers or an array of complex double-precision, floating-point numbers.

    If x is empty, mean is NaN.

    datatype_icon

    error in

    Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

    Default: No error

    datatype_icon

    mean

    Mean, or average, of the values in the input sequence.

    datatype_icon

    error out

    Error information. The node produces this output according to standard error behavior.

    Algorithm for Computing the Mean in a Sequence

    The node calculates mean using the following equation.

    μ = 1 n i = 0 n 1 x i

    where μ is mean and n is the number of elements in x.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics