Golden Search Procedure

버전 1.0.0 (1.42 KB) 작성자: Meysam Mahooti
The golden-section search is a technique for finding an extremum (minimum or maximum) of a function inside a specified interval.
다운로드 수: 98
업데이트 날짜: 2019/11/29

라이선스 보기

Step 1. Pick up the two points c = a + (1 − r)h and d = a + rh inside the interval [a, b], where r = (√5 − 1)/2 and h = b − a.
Step 2. If the values of f (x) at the two points are almost equal [i.e., f (a) ≈ f (b)] and the width of the interval is sufficiently small (i.e., h ≈ 0), then stop the iteration to exit the loop and declare xo = c or xo = d depending on whether f (c) < f (d) or not. Otherwise, go to Step 3.
Step 3. If f (c) < f (d), let the new upper bound of the interval b ← d; otherwise, let the new lower bound of the interval a ← c. Then, go to
Step 1.

Reference:
Applied Numerical Methods Using MATLAB®
Author(s): Won Young Yang, Wenwu Cao, Tae‐Sang Chung, John Morris
First published:14 January 2005
Print ISBN:9780471698333 |Online ISBN:9780471705192 |DOI:10.1002/0471705195
Copyright © 2005 John Wiley & Sons, Inc

인용 양식

Meysam Mahooti (2024). Golden Search Procedure (https://www.mathworks.com/matlabcentral/fileexchange/73484-golden-search-procedure), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2019a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Import, Export, and Conversion에 대해 자세히 알아보기
태그 태그 추가

Community Treasure Hunt

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

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