findZero
Version 1.0.0 (2,08 ko) par
Ian Ammerman
Uses bisection and newtons method to find all function zeros on a given interval.
% Written By: Ian Ammerman
% Written: 9/15/23
%
% findZero(func,a,b) finds the root of func on the interval a,b. If multiple
% roots are present on the interval, new sub-intervals are defined and
% solved individually. The bi-section method is employed to a tolerance of
% 10^-2 and Newton's method is used for final convergence to 10^-6
%
% findZero(func,a,b,'ShowFigure',true) plots the function over the given
% interval along with the located roots.
%
% findZero(func,a,b,'Tolerance',tol) defines the tolerance for Newton's
% method convergence. Default is 10^-6
Citation pour cette source
Ian Ammerman (2024). findZero (https://www.mathworks.com/matlabcentral/fileexchange/135452-findzero), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2023b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
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 |