本次美国代写是一个Matlab计量经济的Homework
Consider the following function:
where x 2 [−100;100]n. The global minimum is at x = (0;:::;0) with f (x) = 1
1. Write a Matlab code that plots the function in 3-D in the domain specified. Set the dimension of
the function to be 2 (i.e. n = 2).
2. Write a Matlab code that allows me to enter an initial guess point and use fminunc to find the
minimum of the function.
3. Write a Matlab code that allows me to enter an initial guess point and use fminsearch to find the
minimum of the function.