MathGroup Archive 2009

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

Search the Archive

Re: Azimuth in Mathematica


Hi,

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)

Regards
   Jens

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