Simplified Gradient Descent Optimization

Demonstration of the gradient descent optimization algorithm with a fixed step size.

http://systemdesign.illinois.edu/index.php

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/35535-simplified-gradient-descent-optimization), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.1

Only changed video link in subscription. Code is unchanged.

1.0.0.0