test_derivatives

Tool to test analytical against numerical derivatives.
15 descargas
Actualizado 15 Aug 2020

Ver licencia

Using explicit expressions for analytical derivatives often results in much faster code than using symbolic math. However, coding expressions for analytical derivatives is sometimes an error-prone process.

This tool makes it easy to test analytical derivatives up to order three against numerical derivatives, for functions of one or two variables.

Citar como

Are Mjaavatten (2024). test_derivatives (https://www.mathworks.com/matlabcentral/fileexchange/74031-test_derivatives), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2019b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Calculus en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.1.1

Fixed bug: For functions of two variables.the result for df/dy was wrong unless dy = dx.

1.1.0

Somewhat more versatile version.

1.0.0