Bisection method

Version 1.2.0.0 (303 octets) par Sander Khowaja
Bisection method
748 téléchargements
Mise à jour 1 nov. 2014

Afficher la licence

This code is for bisection method having the stopping criterion as number of iterations. This function accepts three arguments which is the bracket values [x1 x2] and number of iterations which is n. You will need a function to execute this code which is also attached here. Equation on which bisection method is ought to be applied can be changed with in the function file named f.m

Citation pour cette source

Sander Khowaja (2024). Bisection method (https://www.mathworks.com/matlabcentral/fileexchange/48321-bisection-method), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2013b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Linear Programming and Mixed-Integer Linear Programming dans Help Center et MATLAB Answers
Remerciements

Inspiré par : bisection.m

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.2.0.0

function need for this file is
function fx = f(x);
fx = x^2/2-3; %% Enter your function here.
return;

1.1.0.0

function need for this file is
function fx = f(x);
fx = x^2/2-3; %% Enter your function here.
return;

1.0.0.0