Chapter 3 Analysis Library
© National Instruments Corporation 3-25 LabWindows/CVI Standard Libraries
Parameters
Input inputArray double-precision
2D array Input array.
numberofRows integer Number of elements in first
dimension of inputArray.
numberofColumns integer Number of elements in second
dimension of inputArray.
Output maximumValue double-precision Maximum value.
maximumRowIndex integer Index of maximumValue in
inputArray array (first
dimension).
maximumColumnIndex integer Index of maximumValue in
inputArray (second
dimension).
minimumValue double-precision Minimum value.
minimumRowIndex integer Index of minimumValue in
inputArray (first dimension).
minimumColumnIndex integer Index of minimumValue in
inputArray array (second
dimension).
Return Value
status integer Refer to error codes in
Table 3-2.
Meanint status = Mean (double inputArray[], int numberofElements, double *mean);
Purpose
Compute the mean (average) value of the input array. The function uses the following formula
to find the mean.
meanval x n
i
i
n
=
=
−
∑
0
1/