This shows you the differences between two versions of the page.

projects:cordic_calculations [2007/11/23 13:04] thomastraber |
projects:cordic_calculations [2011/10/06 09:50] (current) thomastraber [Cordic Calculations] Typo fixed. |
||
---|---|---|---|

Line 1: | Line 1: | ||

====== Cordic Calculations ====== | ====== Cordic Calculations ====== | ||

- | Originating from the [[cookbook:sinecomp]] example in the cookbook this code here also calculates the magnitude and the phase of a vector given it's I- and Q-components. Also it works within the 306° range instead of 180° as in the cookbook. | + | Originating from the [[cookbook:sinecomp]] example in the cookbook this code here also calculates the magnitude and the phase of a vector given it's I- and Q-components. Also it works within the 360° range instead of 180° as in the cookbook. |

The plotting is done using matplotlib. [[projects:matplotlib_plotter]] is a small script to monitor and plot the data. | The plotting is done using matplotlib. [[projects:matplotlib_plotter]] is a small script to monitor and plot the data. | ||

Line 308: | Line 308: | ||

#test_sincos() | #test_sincos() | ||

</code> | </code> | ||

+ | |||

+ | ===== References ===== | ||

+ | |||

+ | http://www.andraka.com/cordic.htm | ||

+ |

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported