Golden-Section Search Numerical Method

버전 1.0.0.0 (2.34 KB) 작성자: Roche de Guzman
Function for finding the x optimum to make f(x) extreme, using the golden-section search method
다운로드 수: 339
업데이트 날짜: 2017/2/24

라이선스 보기

% Inputs: with examples
% stO = maximum or minimum string: stO = 'minimum';
% AF = anonymous function equation: AF = @(x) 1-((20^2)./(9.81*(((3*x)+((x.^2)/2)).^3))).*(3+x);
% xb = initial guess x bracket = [xL xU], where xL = lower boundary x and xU = upper boundary x: xb = [0 2.5];
% ed = desired approximate relative error = (2-phi)*|(xU - xL)/xO|, where phi =(1+5^0.5)/2: ed = 0.01;
% Outputs
% xO = x optimum
% errO = approximate relative error
% nO = number of iterations
% xOV = x optimum vector
% errOV = approximate relative error vector
% AFD1 = anonymous function 1st derivative
% AFD2 = anonymous function 2nd derivative

인용 양식

Roche de Guzman (2024). Golden-Section Search Numerical Method (https://www.mathworks.com/matlabcentral/fileexchange/61740-golden-section-search-numerical-method), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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