05-14-2009 08:16 PM
Hello evryone!!
I have a 2D array and I want to add up all the rows of it to make a 1D array. For example if 2D array has 2 rows like:
1 2 3 4
6 7 1 2
The output 1D array should be:
7 9 4 6
Is there a readily available way 2 do this in Labview? Thanks for the help:)
Solved! Go to Solution.
05-14-2009 08:55 PM - edited 05-14-2009 09:00 PM
Transpose the 2D array and then autoindex in a FOR loop containing an "add array elements" primitive.
05-14-2009 09:31 PM - edited 05-14-2009 09:31 PM