Hi all, how can this make sense??
How could the second one give a mean that is LOWER than the first one? wave1 are all real values.
Simple: if, for example, the first element of the wave is larger than the mean. Try this:
// now change so that the first element is larger than the mean:
I hope this helps,
I guess I understood the help file wrong. Are the x1 and x2 the index? the way it was described, I thought it means only include elements whose value is between x1 and x2. (especially since -inf doesn't seem to make sense with index)
x1 and x2 are the wave scaling indexes over which the mean is computed.
If you have point scaling, they're the indexes of the wave (array), which start at 0 (0 is the index of the first value in the wave, 1 is the second, etc).
See this Igor help topic to explain what wave scaling is and how x isn't usually the point/index number.
DisplayHelpTopic "The Waveform Model of Data"
Software Engineer, WaveMetrics, Inc.
Back to top