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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!