dfdxc(x,f) computes the first two derivatives of f(x) -- namely df/dx and d^2f/dx^2 -- using a modified form of the central difference formula.
Brenden Epps (2021). dfdxc(x,f) computes the first two derivatives of f(x) (https://www.mathworks.com/matlabcentral/fileexchange/37061-dfdxc-x-f-computes-the-first-two-derivatives-of-f-x), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!