File Exchange

image thumbnail


version 1.1.0 (2.54 KB) by Are Mjaavatten
Tool to verify that analytical derivatives are correct


Updated 27 Jan 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 (2020). test_derivatives (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)



Somewhat more versatile version.

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