Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Azimuth in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg95071] Azimuth in Mathematica
  • From: TL <latev at shaw.ca>
  • Date: Mon, 5 Jan 2009 03:28:32 -0500 (EST)

Is there a function in Mathematica that would return the azimuth between 
two points with known coordinates, 0 being North?
For example having A(0,0), B(1,0) - the azimuth should be 90 degrees
its like ArcTan[dx/dy], but I need the quadrant taken into account as 
well and I need it to handle 90 and 270 degrees properly too

/it doesn't need to convert the angles to degrees, rads is ok/


  • Prev by Date: What Am I Doing Wrong?
  • Next by Date: mathematica 7.0 Linux
  • Previous by thread: Re: What Am I Doing Wrong?
  • Next by thread: Re: Azimuth in Mathematica