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

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 67061

Trending Articles