Question: I'm having a problem trying to set up a Matlab function called myderivative . Here's the homework question related to this: Write a Matlab function
I'm having a problem trying to set up a Matlab function called myderivative. Here's the homework question related to this:
Write a Matlab function called myderivative that inputs a number x and outputs the derivative of the function f(x) = (x-1)^2.
Take a good look and tell me what I'm doing wrong and how I should fix it. Specify what code I should type under part b) and what code to put under function definitions.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
