bisectguess

버전 1.0.1 (3.51 KB) 작성자: Geoff Stanley
bisectguess uses bisection and a guess of the root to provide a fast and robust root-finding method that is compatible with code generation.
다운로드 수: 26
업데이트 날짜: 2021/10/1

라이선스 보기

A root of a function f is found by repeated bisection of a specified interval containing a sign change of f. An initial guess of the root can be provided (as for MATLAB's fzero), outwards from which an interval is geometrically expanded until a sign change is found, then bisection proceeds within that interval. (In the thumbnail image, a root of a quadratic is found, despite that the function is positive at both ends of its domain.)
Only one problem is solved at a time: f is a scalar function whose first argument is a scalar. Extra arguments of f are taken directly from extra arguments to bisectguess. To solve many problems, put bisectguess inside a for loop, inside a wrapper function. To make this fast, use code generation to turn the wrapper function into a fast MEX function -- encapsulating f in the MEX function too.
--- This package is no longer updated here. Instead, get updates from github:

인용 양식

Geoff Stanley (2024). bisectguess (https://www.mathworks.com/matlabcentral/fileexchange/69710-bisectguess), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2017b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.1

Update Description. No changes to files.

1.0.0