To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.org.ca.rtltorontoOpen lugnet.org.ca.rtltoronto in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Organizations / Canada / rtlToronto / 14264
14263  |  14265
Subject: 
Re: OT: Math Help
Newsgroups: 
lugnet.org.ca.rtltoronto
Date: 
Fri, 5 Aug 2005 20:17:50 GMT
Viewed: 
595 times
  
On Fri, August 5, 2005 2:55 pm, Nick Kappatos wrote:
If I remember right, the way we resolved this for real-world surveying problems
and the like was to convert the degrees 180 < x < 360 into negative values
relative to 0/north. 350 is -10, 270 is -90, etc.

If x1 > 180
then x2 = 360 - x1

This makes your numbers relative to 0. You can then convert back if the average
is a negative number:

If avg1 < 0
then avg2 = 360 + avg1

Don't you get the same problem at 180, now?

170 + 190 = 170 +(-170) = 0

I think there are several readings that can give you more than one result.  For
example, if you take two readings of 90 and 270, what should the answer be?  0?
180?

never mind.  I like Derek's answer.

Steve



Message has 2 Replies:
  Re: OT: Math Help
 
(...) One of the things I did pickup from "my" answer is you need to have a sample frequency small enough that you are not going to get wind direction changes of 180 degrees or more. And I say or more, because it's important to the average which (...) (19 years ago, 5-Aug-05, to lugnet.org.ca.rtltoronto)
  Re: OT: Math Help
 
(...) Oops, there was a mistake in my first equation above that I've corrected here, in order to give a negative number. (...) That's why I have " > 180", not "> or equal to 180" ;) Since the question was framed in relation to 0, that's what my (...) (19 years ago, 5-Aug-05, to lugnet.org.ca.rtltoronto)

Message is in Reply To:
  Re: OT: Math Help
 
(...) If I remember right, the way we resolved this for real-world surveying problems and the like was to convert the degrees 180 < x < 360 into negative values relative to 0/north. 350 is -10, 270 is -90, etc. If x1 > 180 then x2 = 360 - x1 This (...) (19 years ago, 5-Aug-05, to lugnet.org.ca.rtltoronto)

9 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR