piclist 2001\04\05\173026a >
Thread: CORDIC Arctan Function?
face BY : David VanHorn email (remove spam text)

At 04:21 PM 4/5/01 -0500, Mark Peterson wrote:
>I'm working on a compass project where I have two magneto resistive sensors
>connected to a couple PIC analog inputs.  This effectively generates a sin
>and cos value for the angle of the magnetic field.  What is the trig,
>CORDIC, or whatever function that I need to use to turn the sin and cos
>value into a single angle value?

You're trying to convert rectangular to polar coordinates, I think.

Dave's Engineering Page: http://www.dvanhorn.org
Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9

http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email listservspammitvma.mit.edu with SET PICList DIGEST in the body


In reply to: <OFBDD93417.31859AF3-ON86256A24.004580ED@cannontech.com>
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) CORDIC Arctan Function?

month overview.

new search...