The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



MeanAngleX


Unit:SDL_math2
Class:TCurveFit
Declaration:property MeanAngleX: double;

The read-only property MeanAngleX returns the mean of the x-values interpreted as angles measured in degrees. For example, the angles of 5°, 1°, and 357° are quite close to each other and the mean of them would be 1°, and not 121°, as the numerical average suggests.

The following diagram shows 20 angles (blue points in polar diagram) randomly distributed around zero degrees. The average angle is 356° and is indicated by the red line.

Hint: The property MeanAngleX triggers the calculation of NumData sines and cosines and their summation. Thus the usage of MeanAngleX can be time-intensive if many inidividual values have been entered.



Last Update: 2023-Feb-06