I'm confused about this. the gps data constantly streams in so, when you say 'take all' what does that mean? I'm not quite sure what a moving average is, formula wise, but is this what you need to do? calculate a moving average? thanks ----- Original Message ----- From: "Picdude" To: Sent: Thursday, April 24, 2003 10:13 PM Subject: Re: [ot]: calculating average GPS position Not specifically w.r.t. GPS, but from a mathematical perspective... If you're suggesting averaging by averaging points A & B, then the result of that with C, then with D, etc, that would be an incorrect definition of the term "average". Avg(A,B,C) != Avg(A,Avg(B+C)). For example, the average of 7,8,9 = 8. Avg(Avg(7,8) , 9) = Avg(7.5,9) = 8.25. Bzzzt! So take all lats and avg those, take all lons and avg those, and that should be the result. Or maybe there's something specific to GPS that makes this all just a load of cr*p? Cheers, -Neil. On Thursday 24 April 2003 21:49, rad0 wrote: > how exactly would I calculate an average of a fixed gps reciever > to eventually get a more accurate lat/lon ?? > > if you take two lat/lon's average, then do this with the very next > available lat/lon > is this any good? > > or if you take 10 lat/lon's get average then average this with the next ten > > > what's the best way to do this? > > > thanks -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.