Question: In this problem you can use the function min. Suppose that we want to find the minimum of a function f ( x ) ,
In this problem you can use the function min. Suppose that we want to find the minimum of a
function with xin
a Write a MATL function, called minBasic.m that takes a and as input and returns
the minimum value of the function Also write how you would call the function
at the command prompt.
b Write a M TL function, called minFunction.m that would return the minimum value
for any function defined at the prompt. Also write how you would call the function
at the command prompt in the case where the function you want to find the minimum of
is
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
