Question: ( 4 ) Write a general Matlab routine for implementing the conjugate gradient method. minimize Rosenbrock function and also use same strategies to obtain the
Write a general Matlab routine for implementing the conjugate gradient method.
minimize Rosenbrock function and also use same strategies
to obtain the step sizes and same termination criteria & initial vector Use same
constant step size, variable step size and quadratic fitting parameters for a reasonable
comparison with Steepest Descent Method
Add an extra "Golden Section Line Search" for the step size.
B Plot the error as with respect to the iteration number.
C Compare the convergence rates, computation times, final error and final iteration number
with those of Steepest Descent Method in a neat table and give your brief comments.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
