LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sum of the column in one array

Hi, I am a new user of Labview.
I am using a simulator composed by different for loops. This simulator saves in an unique txt file one column for each step.
Each colomn has 1024 elements. Thus, for example,  if the number of steps is 10, the final txt file will has 10 columns of 1024 elements each. How is it possible to sum all these columns obtaining a unique final column with again 1024 elements and then to calculate a column which represents the mean of all the others?

Mario

PS. I am using Labview 7.1



0 Kudos
Message 1 of 3
(20,355 Views)
Here's a simple solution. It should work with any size of 2D array and simply add two more columns with the desired values (sum and mean)
 


Message Edited by altenbach on 11-20-2007 06:07 PM
Message 2 of 3
(20,350 Views)

Thanks,

it looks ok and simple, I will try and I'll let you know.

Bye

Mario

0 Kudos
Message 3 of 3
(20,318 Views)