(a) Create an anonymous function called my_function, equal to
-x2 - 5x - 3 + ex
(b) Use the fplot function to create a plot from x = - 5 to x = +5. Recall that the fplot function can accept a function handle as input.
(c) Use the fminbnd function to find the minimum function value in this range. The fminbnd function is an example of a function function, since it requires a function or function handle as input. The syntax is
fminbnd(function_handle, xmin, xmax)
Three inputs are required: the function handle, the minimum value of x, and the maximum value of x. The function searches between the minimum value of x and the maximum value of x for the point where the function value is a minimum.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.