Fixed-Point Iteration (fixed_point_iterat​ion)

版本 6.2.0 (329.6 KB) 作者: Tamas Kis
Fixed-point iteration for finding the fixed point of a univariate, scalar-valued function.
382.0 次下载
更新时间 2022/10/17

fixed_point_iteration View Fixed Point Iteration (fixed_point_iteration) on File Exchange

Fixed-point iteration for finding the fixed point of a univariate, scalar-valued function.

Syntax

c = fixed_point_iteration(f,x0)
c = fixed_point_iteration(f,x0,opts)
[c,k] = fixed_point_iteration(__)
[c,k,c_all] = fixed_point_iteration(__)

Description

c = fixed_point_iteration(f,x0) returns the fixed point of a function specified by the function handle f, where x0 is an initial guess of the fixed point.

c = fixed_point_iteration(f,x0,opts) does the same as the syntax above, but allows for the specification of optional solver parameters. opts is a structure with the following fields:

  • k_max → maximum number of iterations (defaults to 200)
  • return_all → returns estimates at all iteration if set to true (defaults to false)
  • TOL → tolerance (defaults to )

[c,k] = fixed_point_iteration(__) also returns the number of iterations (k) performed of fixed-point iteration.

[c,k,c_all] = fixed_point_iteration(__) does the same as the previous syntaxes, but also returns an array (c_all) storing the fixed point estimates at each iteration. This syntax requires that opts.return_all be set to true.

Examples and Additional Documentation

  • See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.
  • See "Root_Finding_Methods.pdf" (also included with download) for the technical documentation.

引用格式

Tamas Kis (2024). Fixed-Point Iteration (fixed_point_iteration) (https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v6.2.0), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2021b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
6.2.0

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v6.2.0

6.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v6.1.0

6.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v6.0.1

6.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v6.0.0

5.5.0

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v5.5.0

5.4.1

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v5.4.1

5.4.0

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v5.4.0

5.3.0

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v5.3.0

5.2.0

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v5.2.0

5.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v5.1.0

5.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v5.0.0

4.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v4.0.1

4.0.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v4.0.0

3.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v3.0.1

3.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v3.0.0

2.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v2.0.1

2.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v2.0.0

1.0.4

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v1.0.4

1.0.3

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v1.0.3

1.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v1.0.2

1.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/fixed_point_iteration-MATLAB/releases/tag/v1.0.1

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库