image thumbnail


version 1.1.1 (2.56 KB) by Are Mjaavatten
Tool to test analytical against numerical derivatives.


Updated 15 Aug 2020

View License

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.

Cite As

Are Mjaavatten (2021). test_derivatives (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!