This folder contains a word document (optimization_problem_wth_solution.doc) that contains a description for an optimization problem along with its solution. The folder contains two m-script file that contain the solution for the Gradient_Descent_minimum and Gradient_Descent_maximum problems included in the word document. The algorithm for the gradient descent is included in the m-script files. For more information, you could go to wikipedia.
You don't need the optimization toolbox to run the script.
Nassim Khaled (2023). Derivative-based Optimization (https://www.mathworks.com/matlabcentral/fileexchange/27631-derivative-based-optimization), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!