Bisection
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
Citation pour cette source
Wolfgang Putschögl (2024). Bisection (https://www.mathworks.com/matlabcentral/fileexchange/28978-bisection), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Mathematics and Optimization > Partial Differential Equation Toolbox > Domain-Specific Modeling > Electromagnetics >
Tags
Remerciements
A inspiré : Bisection Method Root Finding
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |