> Let's say I have a one-dimensional array with 100 elements. I need to
> average the 3rd through 97th elements. How would I do this?
>
There are a couple ways. You could use array subset to extract and send
to the Average VI in the analysis palette. Actually, it is named as
Mean.vi, and is most easily found using the Search button on the palettes.
You could also do your own Sum and divide by elements if you like. If
working on very large datasets, you may choose to loop through rather
than extracting the subArray. This will work inplace and not need to
make a copy of the array. If you want to average a very large array
except for a small number, you could also do the overall average of the
array and then subtract the average of the element
s you don't want.
Greg McKaskle