There are 2 files one for minimum and one for maximum.
It will show graph for each iteration.
x is the interval
y is a function can be called using f(x)
1st iteration occurs outside the loop.
rest inside of it
xl= x Lower
xu= x Upper
x1 = 1st value
x2 = 2nd value
引用格式
M Matsive Ali (2024). Golden Section Search Method for One dimention optimization (https://www.mathworks.com/matlabcentral/fileexchange/158451-golden-section-search-method-for-one-dimention-optimization), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2023b
兼容任何版本
平台兼容性
Windows macOS Linux标签
致谢
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!