Golden section method - searching for minimum of the function on given interval <a,b>
golden.m - main algorithm, computing minimum on interval
f.m - given function - file to modify by the user!
Thanks alot, it has helped me in my optimization hw
Thank you for uploading this file. Great job!
Thanks for comment! I am not disappointed :) I know that this method already exists in matlab but never used it.
The reason why I uploaded it here is that I had university task to implement it on my own, not using ready script, and I thought it might be helpful for somebody else.
Sorry to dissapoint you, but the golden section method is already in standard MATLAB: type "doc fminbnd" in the MATLAB command prompt.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.