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....



MeanAngleY


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

The read-only property MeanAngleY 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 MeanAngleY triggers the calculation of NumData sines and cosines and their summation. Thus the usage of MeanAngleY can be time-intensive if many inidividual values have been entered.

 



Last Update: 2012-Oct-20