Hi, maybe I'm missing something but I am not surprised reading the result here, because of south is ambiguous in that way there is no natural value for it. One must arbitrarly assign either -180 or 180 to it, but it is a DECISION and math does not know nothing about decisions, at least in this case. It is like a function with a non-contiguous point. Imre On Thu, 16 Sep 2004, Mike Hord wrote: > But the math result of 170 and -170 would be zero, since -170 + 170 = 0. > If zero is north, and 170 and -170 are just east and west of south, the > average of the two readings would be north, instead of south. > > I think in the end, one just has to figure out what the end result of the > data has to be and tailor the system to fit. > > Remember, this sort of thing is why creative problem solvers with a good > grip on the underlying concepts will have jobs for a good long time to come. > So be grateful these problems exist! > > Mike H. > > > I don't understand that. Your encoding uses -180 ... + 180 for the full > > circle, so 170 and -170 are pretty close, just 20 degrees apart, so > > there is only one average (south, if 0 is north). > > > > > > > > Wouter van Ooijen > _______________________________________________ > http://www.piclist.com > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist