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


Math Forum
»
Discussions
»
sci.math.*
»
sci.math
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
Re:XY to R Theta
Replies:
1
Last Post:
Jul 5, 1996 1:59 PM




Re:XY to R Theta
Posted:
Jun 30, 1996 3:29 AM


> In article <31CEBDC8.2771@apollo.numis.nwu.edu>, Laurence Marks > ldm@apollo.numis.nwu.edu> wrote: > I am looking for some code to transform a 2D array (origin at the > center) from XY to R,Theta. I suspect that there must be a simple
It depends on the required ACCURACY and restrictions of TIME. 1. If accuracy is low (610 bits), then table lookup method is best. 2. If accuracy is high (3264 bits and more), BUT you are not restricted in time then DISTRIBUTED ARITHMETIC method is best. 3. Middle and high accuracy and serious restrictions of time go to CORDIC method. You may read about that in
http://devil.ece.utexas.edu/cordic.html
Vladimir Baykov, St.Petersburg, Russia vlad@vlad.usr.etu.spb.ru



