Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: atan2, angle
Posted:
Jan 7, 2013 10:45 AM


On Mon, 07 Jan 2013 11:15:15 +0000, erik poljanec wrote:
> hay. > i am doing for myself in matlab the algoritem for sun position by > falowing the paper of ibrahim reda. > so far i done all rigt, but when i need to use atan2 the rezult of > equation is 0° insted of 202°. i had tray atan2, angle.... > now i dont know what i am doing wrong. pleas help. > the equation in the paper: > > alpha=atan2((sin(lambda)*cos(epsilon)tan(beta)*sin(epsilon))/cos (lambda)) >
The / should be a ,
B



