Golden Section Search Method for One dimention optimization
Version 1.1 (192 KB) by
M Matsive Ali
It is the method to search for roots of a function within a certain interval with number of iterations by using the golden ratio.
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
Cite As
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. Retrieved .
MATLAB Release Compatibility
Created with
R2023b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: golden section method algorithm
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.