Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67066

How to Average an Array based on another Array?

$
0
0

Example:

 

I have ARRAY1 with the following:

1

1

1

2

2

3

 

ARRAY2 Contains:

1

2

3

4

5

6

 

In the end ARRAY3 would contain:

2                  (1+2+3)/3

4.5               (4+5)/2

6                  (6)/1


Viewing all articles
Browse latest Browse all 67066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>