Question: DO THIS IS IN MATLAB CODE. MATLAB QUESTION. Using this equation, Create a function that takes a two-element vector input X = [x,y] and produces
DO THIS IS IN MATLAB CODE. MATLAB QUESTION.

Using this equation,
Create a function that takes a two-element vector input X = [x,y] and produces a the scalar output of z.
Using the default options of fminsearch, test several starts points to make sure that you are finding the global minimum and not a local minimum. Do all the start points lead to the same minimum value and location of that minimum? Use large and small values as well as positive and negative and Use the output feature (the fourth output) of fminsearch to see why your evaluation terminates.
+ IS z(:2, y) = -xye
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
