I want to calculate the average of a set of circular data. For example, I have several samples from reading the compass You can. The problem of the curriculum is how to deal with wrapper. A similar algorithm can be useful for the clock.
The real question is more complex - the data is in a spherical or algebraic area that "wraps around", e.g. Additive group mod n answers can not be unique, e.g. An average of 35 9 degrees and 1 degree can be 0 degrees or 180, but looks statistically better.
This is a real programming problem for me and I think it's a Math problem. Calculate the unit vectors from angles and take the angle of their meanings.
Comments
Post a Comment