Wednesday, July 7, 2010

Find Average(Mean) for 2D array values

There is an easy way to find the mean(average) for 2D array values without using any loop. The function name is A x B.vi which is located in the mathematics->Linear Algebra->A x B.vi.
See the picture to find the average for Row of 2D array values.To find the average for column of 2D array values just use Transpose 2D Array function on the 2D array input.