To calculate the derivative of the function f(x) = exp(x) at x = 1 in MATLAB, you can use the symbolic math toolbox. Here is the code to find the true value of f'(x) at x = 1:
main.m170 chars6 lines
The output will give you the true value of f'(x) at x = 1.
gistlibby LogSnag