File Exchange

image thumbnail

Root_Finding_Cauchy​_Integration_Method

version 1.0.2 (3.95 KB) by Mazin Mustafa
A root finding algorithm for complex functions based on Delves & Lyness method using Cauchy Integration Method.

6 Downloads

Updated 10 Dec 2018

View Version History

View License

A root finding algorithm for complex functions based on Delves & Lyness method using Cauchy Integration Method. The search is performed in a specified search box defined by the user. The function of interest can be implemented separately with any number of arguments and accepts complex expressions. The function of interest must be analytic within the search box. Results are polished with Newton-Raphson iteration for maximum accuracy. Automatic Differentiation is required.

The AutoDiff_R2015b toolbox is required: https://www.mathworks.com/matlabcentral/fileexchange/56856-autodiff_r2015b

Cite As

Mazin Mustafa (2020). Root_Finding_Cauchy_Integration_Method (https://www.mathworks.com/matlabcentral/fileexchange/68750-root_finding_cauchy_integration_method), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Mazin Mustafa

To YONGCHUN LI, please present your example. The autodiff limitations are well known for special functions. However, you can replace the aurodiff with a manual expression (if needed). In addition to that, also consider the existence of branch cuts in your functions.

YONGCHUN LI

very nice code! but the adiff() function is do not always work for same special case

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