File Exchange

image thumbnail

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

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

1 Download

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 (2021). Sqrt(x^2 + y^2) and atan(y/x) via CORDIC (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

Illya Krivovyaz

Yong Da

Great job

i scardanzan

is there any advantage over the well know classic functions for coordinate tranformation available from matlab ?
.. this is a basic point to clarify

Duane Hanselman

The first help line says what the function does. Only the last line of the help text provides a hint of what the input and output arguments are. The rest is meaningless.

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!