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
引用
Sander Khowaja (2025). Bisection method (https://www.mathworks.com/matlabcentral/fileexchange/48321-bisection-method), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2013b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- Mathematics and Optimization > Optimization Toolbox > Linear Programming and Mixed-Integer Linear Programming >
Help Center および MATLAB Answers で Linear Programming and Mixed-Integer Linear Programming についてさらに検索
タグ
謝辞
ヒントを得たファイル: bisection.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!