Bisection
Version 1.0.0.0 (1.8 KB) by
Wolfgang Putschögl
Computes the root of a function f by bisectioning.
Computes the root of a continuous function f in the interval [a,b] by bisectioning.
For this algorithm the function values of endpoints must differ in sign.
Usage: [c,fc,err] = bisection(f,a,b,delta)
Input arguments:
f function
a left endpoint
b right endpoint
delta error tolerance
Output arguments:
c solution
Optional Output arguments:
fc function value of solution
err error estimate
Cite As
Wolfgang Putschögl (2026). Bisection (https://se.mathworks.com/matlabcentral/fileexchange/28978-bisection), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Partial Differential Equation Toolbox > Domain-Specific Modeling > Electromagnetics >
Find more on Electromagnetics in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Bisection Method Root Finding
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
