Skip to main content

centerOfMassXY

centerOfMassXY (waveX, waveY)

The centerOfMassXY function returns the 1D center of mass for the pair of waves.

The centerOfMassXY function was added in Igor Pro 9.00.

You can obtain the center of mass in the orthogonal direction (yc) by reversing the order of arguments to the function.

Details

The center of mass is defined as

 centerMassXY =waveX[i]waveY[i]waveY[i].\displaystyle \text { centerMassXY }=\frac{\sum { waveX }[i] { waveY } [i]}{\sum{ waveY } [i]} .

See Also

centerOfMass, mean, areaXY, SumDimension, ImageAnalyzeParticles