Question: 90), using gradient method with 2 40 3- (a) Write a MATLAB code (your own) for minimizing the quadratic function (11 9 80 f(x)= -x+Qx-bx,

90), using gradient method with 2 40 3- (a) Write a MATLAB code (your own) for minimizing the quadratic function (11 9 80 f(x)= -x+Qx-bx, where Q= b= 9 11 fixed step size. Run the programs for at least 50 iterations, plot the relative error 1:-1 | versus the iteration step k where x is the optimum value. Use X| step sizes i) a = 1/4 max , ii) a = 3/4max , ill) a = 2/(min + max). Use the last two digits of your school id number for the initial point xo. 11 1 136 (b) Repeat (a) for Q= b= 11 -64 Your grade will be determined according to the comments you make about the results. 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
