Question: Write your own steepest descent algorithm in MATLAB. Instead of re-writing the line search code, re-use your code from the previous labs. The new functions

Write your own steepest descent algorithm in MATLAB. Instead of re-writing the line search code, re-use your code from the previous labs. The new functions / scripts you will have to code may include: (a) multi-variable objective function (accepts a vector as input and outputs a scalar), (b) gradient function (accepts a vector as input and outputs a vector), (c) steepest descent code that can use use either the golden section or quadratic approximation as line search method, (d) a script to run all your tests.
3. Write your own steepest descent algorithm in Matlab. Instead of re-writing the line search code, re-use your code from the previous labs. The new functions/scripts you will have to code may include: (a) multi-variable objective function (accepts a vector as input and outputs a scalar), (b) gradient function (accepts a vector as input and outputs a vector), (c) steepest descent code that can use use either the golden section or quadratic approximation as line search method, (d) a script to run all your tests
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
