Simplified Gradient Descent Optimization
Version 1.0.0.1 (2.13 KB) by
James Allison
Demonstration of the gradient descent optimization algorithm with a fixed step size.
This example was developed for use in teaching optimization in graduate engineering courses. This example demonstrates how the gradient descent method can be used to solve a simple unconstrained optimization problem. Taking large step sizes can lead to algorithm instability, but small step sizes result in low computational efficiency. A corresponding video can be found here:
https://youtu.be/qLpOWteWmjs
Cite As
James Allison (2026). Simplified Gradient Descent Optimization (https://ch.mathworks.com/matlabcentral/fileexchange/35535-simplified-gradient-descent-optimization), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Get Started with Optimization Toolbox in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
