Is there a built in array sub vi or math function in Labview (8.2) that will let me average or at least add all rows( or columns) in a 2D array and give me a resulting 1D array?
I can build one I suppose, but was wondering if there is already something built in. Integer arithmetic is fine.
I don't think there is anything built in, but it's very simple. This will average the rows, if you want columns, just transpose the arry before the for loop.
Thank you. This is a very simple, but very neat & a smart solution. Thought of using the Mean vi, but this idea never popped up. I did try with the Add two polynomials vi, but I think that is not as elegant and seems to be a bit slower.