Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: atan2, angle
Replies: 2   Last Post: Jan 7, 2013 10:45 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Bruce Bowler

Posts: 238
Registered: 12/7/04
Re: atan2, angle
Posted: Jan 7, 2013 10:45 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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


Date Subject Author
1/7/13
Read Re: atan2, angle
dpb
1/7/13
Read Re: atan2, angle
Bruce Bowler

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.