Sqrt(x^2 + y^2) and atan(y/x) via CORDIC

version 1.0.0.0 (1.85 KB) by Luis Moreno
Transform cartesian coordinates (x,y) to polar (r,theta)

1.9K Downloads

Updated 21 Apr 2008

View License

Calculation of sqrt (x^2 + y^2) and atan (y/x) via the CORDIC algorithm.
This function perform 9 iterations

Cite As

Luis Moreno (2022). Sqrt(x^2 + y^2) and atan(y/x) via CORDIC (https://www.mathworks.com/matlabcentral/fileexchange/19637-sqrt-x-2-y-2-and-atan-y-x-via-cordic), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!