About this document
MATLAB Functions for Numerical Derivatives by David Rios Vera is a document available to read on EtoBox.
The document contains code for calculating derivatives of a function f(x) using finite difference methods. It defines functions f1, f2, f3, f4 to calculate the 1st, 2nd, 3rd and 4th derivatives using different step sizes h. The derivada function calls these to calculate the derivatives and prints the results for given x and h values. It also contains code for numerical integration using the trapezium rule.
- Author
- David Rios Vera
- Language
- EN