Complex Roots Finder

Computes the n n-th complex roots of a given complex number


Updated Tue, 28 Mar 2006 14:27:38 +0000

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 (2023). Complex Roots Finder (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
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!
Version Published Release Notes

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