cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Finding the average of the first 75 points of array

Finding the average of the first 75 points of array

Basically I have an array with 7500 values.  I want to take the first 75 values and find the average of those.  I'm struggling with getting the first 75, I tried for loop with an N value of 75 and it still gave me all 7500 values in an array, maybe because of indexing? Help would be much appreciated

0 Kudos
Message 1 of 2
(106 Views)
Highlighted

Re: Finding the average of the first 75 points of array

Hi eo,

 

when you need a subset of your array then you should use ArraySubset...

Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2017 on Win7+cRIO
Kudos are welcome Smiley Wink

Message 2 of 2
(81 Views)