homework4 - EGM6365 Homework#4 1. Make a Matlab script to...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
EGM6365 Homework#4 1. Make a Matlab script to solve the following unconstrained optimization problem using a Newton method. 23 Minimize ( ) 1 2( 1) x fx x x e =+ + − + Use the initial point x = 6 and -6. The iteration should stop when the function gradient is less than 6 10 . In the Matlab program, plot the curve of the function between x = [-6, 6] using a solid line. At each iteration, plot the function value as dot so that we can see how the algorithm finds the optimum point. Submit you Matlab script, a table of iteration
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.
Ask a homework question - tutors are online