Very simple to use and robust method that takes array inputs, so it even has advantages over fzero.
現在この提出コンテンツをフォロー中です。
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます
BISECTION is a fast, simple-to-use, and robust root-finding method that handles n-dimensional arrays.
Additional optional inputs and outputs for more control and capabilities that don't exist in other implementations of the bisection method or other root finding functions like fzero.
This function really shines in cases where fzero would have to be implemented in a loop to solve multiple cases, in which case this will be much faster.
It can find zero or non-zero roots.
This code can be a bit cryptic. This is for the sake of speed and increased capability. See the many acknowledged other submissions for simpler, easier-to-follow implementations to understand the basics of the bisection method.
引用
Sky Sartorius (2026). Bisection Method Root Finding (https://github.com/sky-s/bisection), GitHub. に取得済み.
謝辞
ヒントを得たファイル: Bisection, Bisection's method, bisection, Numerical Methods: Bisection Method, Bisection Method, bisection.m, Bisection Method Animation, Bisection Method
ヒントを与えたファイル: Fuel fraction sizing, bisectguess
一般的な情報
- バージョン 1.16 (7.3 KB)
-
GitHub でライセンスを表示
MATLAB リリースの互換性
- すべてのリリースと互換性あり
プラットフォームの互換性
- Windows
- macOS
- Linux
GitHub の既定のブランチを使用するバージョンはダウンロードできません
| バージョン | 公開済み | リリース ノート | Action |
|---|---|---|---|
| 1.16 | Linked to GitHub. |
||
| 1.15 | Initialization of variables in parent function to avoid warnings in newer versions of Matlab. |
||
| 1.14.0.0 | Description. |
||
| 1.13.0.0 | Small changes to help. |
||
| 1.12.0.0 | minor speed and formatting improvements |
||
| 1.11.0.0 | New tagline |
||
| 1.9.0.0 | Practically all new code and documentation with added features. A good deal of testing done, but with so much new code, please let me know if you find errors. |
||
| 1.8.0.0 | fixed bug that sometimes caused premature convergence; redid funcntion halding to get rid of one of the input checks and simplify the code and make it more understandable; changed some of the help documentation |
||
| 1.7.0.0 | fixed a bug that was very rarely throwing out some valid results |
||
| 1.6.0.0 | made it possible to handle a function that returns array results for scalar input; changed help a bit and added an example for new awesome feature |
||
| 1.5.0.0 | better example, fixed some help typos, tested in 2012b |
||
| 1.2.0.0 | Vectorized; fixed bug for decreasing functions; some check |
||
| 1.1.0.0 | Vectorized |
||
| 1.0.0.0 |
