04-29-2007 11:36 AM
04-29-2007 01:05 PM
This looks fine to me. If a value falls right between the boundary of two bins, a decision needs to be made based on established statistical procedures.
You can open the front panel of the express VI and see what histogram index is calculated for each value:
Value 0.20: Fractional Index: 1.50000000000000000 -> rounded to bin index 2
Value 0.21: Fractional Index: 1.59999999999999964 -> rounded to bin index 2
Value 0.90: Fractional Index: 8.50000000000000000 -> rounded to bin index 8
Value 0.91, Fractional Index: 8.59999999999999964 -> rounded to bin index 9
LabVIEW just follows the standard Nearest_integer_function where half-integers are always rounded to even numbers. This is statistically correct. Nothing wrong with that. 🙂
04-29-2007 01:25 PM
04-29-2007 01:38 PM
04-29-2007 05:05 PM