## Solution

Unfortunately, there is not a function that is designed to calculate the mean of a whole 2D array by itself. Therefore, you would need to come up with your own algorithm for that. Below is one way of doing it.
- Calculate the sum the 2D array by using Add Array Elements.vi
- Calculate the size of the 2D array by using Array Size.vi, which returns the number of elements of each dimension in 1D array
- Calculate the total number of elements in the 2D by multiplying the elements, calculated at Step 2., by using Multiply Array Elements.vi
- Divide the output of Add Array Elements.vi by that of Multiply Array Elements.vi

**Note**: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.