how can i pull it off in MATLAB?

1 view (last 30 days)
Hamza
Hamza on 21 Mar 2015
Commented: Stephen23 on 21 Mar 2015
Using the step length = 1 and search direction as the anti-gradient, implement the general unconstrained minimization algorithm of your book (page 17-18) for the following function f(x,y)=x^2+y^2/2 Use [x0 y0]' = [3 1]' as the starting point. Run the code for 10 iterations.
Contour plot of the function with a plot of iterates (i.e. [xk yk]') Plot of the value of the function with respect to the iteration number Any insight MATLAB Code
PS: matrices are column matrices .

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!