MathGroup Archive 2009

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

Search the Archive

Re: Azimuth in Mathematica

  • To: mathgroup at
  • Subject: [mg95103] Re: Azimuth in Mathematica
  • From: Jens-Peer Kuska <kuska at>
  • Date: Tue, 6 Jan 2009 04:13:11 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <gjsgb6$k2l$>
  • Reply-to: kuska at


I was always wondering why ArcTan[] alow one and two arguments, i.e.,
ArcTan[x] and ArcTan[x,y] (x, and y in *that* order)


TL wrote:
> 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: Re: how to solve this problem?
  • Next by Date: Re: how to solve this problem?
  • Previous by thread: Re: Azimuth in Mathematica
  • Next by thread: RE: Azimuth in Mathematica