Steepest Decent Method

Solves a multi-variable unconstrained optimization problem using the Steepest Decent Method

You are now following this Submission

Replace the function as you want.
These are sample output.
x10= 3
x20= 4

f =

10*(2*x1-5)^2+2*(3*x2-6)^2

maximumIterationNo =

10

x1= 2.137510 2.447518
x2= 2.554030 2.216119
x3= 2.460830 2.048359
x4= 2.505838 2.023354
x5= 2.495767 2.005226
x6= 2.500631 2.002524
x7= 2.499543 2.000565
x8= 2.500068 2.000273
x9= 2.499951 2.000061
x10= 2.500007 2.000029

Cite As

Duc (2026). Steepest Decent Method (https://www.mathworks.com/matlabcentral/fileexchange/23980-steepest-decent-method), 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.0