> ... 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 function ATAN2() is defined as the arctangent of the four-quadrant y,x coordinates as atan2(y,x)
Your equation above has only a single argument so either
a) the atan2() in the paper isn't the same definition as the commonly implemented intrinsic/Matlab function, or