image thumbnail

Root of complex function

version (1.43 KB) by Houacine M.
simple routine which search complex root of complex valued function


Updated 02 Apr 2010

View License

Let MyFunction(z) to be a complex valued function of the complex argument z.
Let z0 to be the initial point from which the search procedure starts.
by doing a projection on the hyperspace (a line in the real case) defined by two successive points z1 and z2= z1+delta_z. We find a third point which is the root of the hyperspace... By this way, we converge to a root of the original function or we stop in 2 cases :
1- change in successive points is very small (pb of precision)
2- maximum number of iterations is reached

Hoping that this program will help you.

Cite As

Houacine M. (2022). Root of complex function (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
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!