LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Measures of Mean bug

LabVIEW 2011, 

C:\Program Files\National Instruments\LabVIEW 2011\vi.lib\gmath\statdist.llb\Measures of Mean.vi

Mathematics\Probability and Statistics\Measures of Mean.vi

 

In documentation:

percent (trim) specifies the total percentage of outlier data to trim when computing the trimmed mean. LabVIEW trims half of percent (trim) from the lowest values of x array and half from the highest values

 

The code inside obviously shows, that it trims double value. Be carefull!

0 Kudos
Message 1 of 3
(3,001 Views)

I agree the documentation is wrong and should be changed. The VI is fine.

 

(even the icon of he trimming subVI shows full percentages, not half)

0 Kudos
Message 2 of 3
(2,986 Views)

I agree. It trims the percentage specified from both the upper and lower outliers. I've filed CAR #341627 to have R&D correct the documentation. 

Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 3 of 3
(2,945 Views)