Calculation of sqrt (x^2 + y^2) and atan (y/x) via the CORDIC algorithm.
This function perform 9 iterations
Luis Moreno (2021). 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 .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Great job
is there any advantage over the well know classic functions for coordinate tranformation available from matlab ?
.. this is a basic point to clarify
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.