I want to differentiate a function f and the calculate the derivative of f at value of x. How can I do that? for example:
Preferably I would like to create a function handle of the derivative and then calculate the derivative at x.
gfun = matlabFunction(g) g(2)