Question: Use MATLAB to solve the following problem The following function is known as the Himmelblau's function: f ( z 1 , z 2 ) =
Use MATLAB to solve the following problem
The following function is known as the Himmelblau's function:
a Use fminunc to minimize the function with the following starting points and report the
optimized objective function value:
i
ii
iii.
iv
Create two figure, such that figure shows a surface plot of the function and figure shows the
contour plot of the function. Use the figures to explain the results obtained in parts iiv
Note: Use the following options to run fminume:
options optimoptionsfminunc'Algorithm', 'quasinewton','Display', 'off';
b Use the fminuncBFGs from Problem to solve parts iiv from part a Comment on the
difference between the results obtained with fminuncBFGS and fminunc.
Use MATLAB
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
