Simplified Gradient Descent Optimization

Demonstration of the gradient descent optimization algorithm with a fixed step size.
16.4K Downloads
Updated 7 Oct 2018

View License

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 (2024). Simplified Gradient Descent Optimization (https://www.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 Linux
Categories
Find more on Get Started with Optimization Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.1

Only changed video link in subscription. Code is unchanged.

1.0.0.0