Mean VI

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

Owning Palette: Probability & Statistics VIs

Requires: Base Development System

Computes the mean of the values in the input sequence X. You must manually select the polymorphic instance you want to use.

Details  Example

Use the pull-down menu to select an instance of this VI.

Mean (DBL)

X is the input sequence. If the input sequence X is empty, mean is NaN.
mean is the mean, or average, of the values in the input sequence X.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Mean (CDB)

X is the input sequence. If the input sequence X is empty, mean is NaN.
mean is the mean, or average, of the values in the input sequence X.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Mean Details

The VI calculates mean using the following equation.

where µ is mean and n is the number of elements in X.

Example

Refer to the Statistics Solver VI in the labview\examples\Mathematics\Probability and Statistics directory for an example of using the Mean VI.

WAS THIS ARTICLE HELPFUL?

Not Helpful