03-03-2012 02:47 PM - edited 03-03-2012 02:48 PM
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!
03-03-2012 05:51 PM
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)
03-05-2012 06:52 PM
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.