B.isection_method
![查看文件交换的Bisection方法(Bisection_Method)](https://camo.githubusercontent.com/4b6157b7160fa72b95423e753dedfeb3bbdc8c8d85e1c7574925ba303c688491/68747470733a2f2f7777772e6d617468776f726b732e636f6d2f6d61746c616263656e7472616c2f696d616765732f6d61746c61622d66696c652d65786368616e67652e737667)
Calculates the root of a univariate, scalar-valued function using the bisection method.
句法
root = bisection_method(f,a,b)
根= bisection_method(f,a,b,opts)
描述
root = bisection_method(f,a,b)
返回函数的根目录由函数句柄指定
F
, 在哪里一种
一种ndB.
定义间隔的初始猜测包含根。默认的容忍度和最大迭代次数是
tol = 1e-12
一种ndIMAX = 1E6.
, 分别。
根= bisection_method(f,a,b,opts)
与上面的语法相同,但允许指定可选的求解器参数。选择
is a structure that has the following fields:
IMAX.
→最大迭代次数(默认值的)
return_all
→如果设置为返回所有中间根估计true
; otherwise, only the converged root is returned (defaults to错误的
的)托
→宽容(默认为的)
warnings
→true
if any warnings should be displayed,错误的
如果没有(默认为true
的)
示例和附加文档
- 有关示例,请参见“文件交换”页面上的“示例.mlx”或“示例”选项卡。
- 看“二分_Method.pdf"(也包括下载)用于技术文档。
引用
TAMAS KIS(2022)。二分法(Bisection_Method)(https://github.com/tamaskis/bisection_method-matlab/releases/tag/v5.4.1),github。检索到。
马铃薯草Release Compatibility
用R2021A创建
Compatible with any release
平台兼容性
Windows 苹果系统 Linux.标签
发现实时编辑器
Create scripts with code, output, and formatted text in a single executable document.
在此GitHub附加组件中查看或报告问题,访问github存储库。
在此GitHub附加组件中查看或报告问题,访问github存储库。