Complex Roots Finder

Computes the n n-th complex roots of a given complex number
3.1K Downloads
Updated 28 Mar 2006

View License

This very simple function computes the n n-th roots of a given complex number. The attained complex roots can be plotted on a polar diagram.
It is more performante then
roots([1, zeros(1,n-1), -x]),
since it is based on very simple geometric properties of complex roots.

Cite As

Marco Cococcioni (2024). Complex Roots Finder (https://www.mathworks.com/matlabcentral/fileexchange/10357-complex-roots-finder), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Polar Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

- function PHASE replaced with ANGLE
- inputs check added
- another example added