Numerical Differentiation Toolbox

Version 7.1.4 (5.4 MB) by Tamas Kis
Functions and classes to evaluate derivatives, partial derivatives, gradients, directional derivatives, Jacobians, and Hessians.
441 Downloads
Updated 30 Nov 2022

Numerical Differentiation Toolbox View Numerical Differentiation Toolbox on File Exchange

This toolbox supplies functions and classes to evaluate derivatives, partial derivatives, gradients, directional derivatives, Jacobians, and Hessians using the forward difference, central difference, and complex-step approximations of a derivative.

Installation

  1. Download the toolbox from File Exchange or GitHub.
  2. Open the INSTALL folder.
  3. Double-click on Numerical Differentiation Toolbox.mltbx.

MATLAB will automatically perform the installation and add all the contents of the toolbox folder to the MATLAB search path. Alternatively, all of the functions in the toolbox folder can be used independently.

Documentation

Toolbox Documentation
Technical Documentation

To open the home page of the toolbox documentation in MATLAB, type the following in the Command Window:

doc_NDT

To open the documentation of a specific function or class with name name, type the following in the Command Window:

doc_NDT name

To open the technical documentation PDF (Numerical_Differentiation.pdf), type the following in the Command Window:

doc_NDT tech

Differentiator Class

D = Differentiator(method)

Central Difference Differentiation Functions

df = cderivative(f,x0)
pf = cpartial(f,x0,k)
g = cgradient(f,x0)
Dv = cdirectional(f,x0,v)
J = cjacobian(f,x0)
H = chessian(f,x0)
H = cvechessian(f,x0)

Forward Difference Differentiation Functions

df = fderivative(f,x0)
pf = fpartial(f,x0,k)
g = fgradient(f,x0)
Dv = fdirectional(f,x0,v)
J = fjacobian(f,x0)
H = fhessian(f,x0)
H = fvechessian(f,x0)

Complex-Step Differentiation Functions

df = iderivative(f,x0)
pf = ipartial(f,x0,k)
g = igradient(f,x0)
Dv = idirectional(f,x0,v)
J = ijacobian(f,x0)
H = ihessian(f,x0)
H = ivechessian(f,x0)

"Complexified" Functions

y = iabs(x)
z = iatan2(y,x)
z = iatan2d(y,x)
z = idot(x,y)
m = imax(x,y)
m = imin(x,y)
r = imod(a,n)
y = inorm(x)
r = irem(a,n)

Cite As

Tamas Kis (2024). Numerical Differentiation Toolbox (https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v7.1.4), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021b
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!
Version Published Release Notes
7.1.4

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v7.1.4

7.1.3

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v7.1.3

7.1.2

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v7.1.2

7.1.1

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v7.1.1

7.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v7.1.0

7.0.3

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v7.0.3

7.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v7.0.2

7.0.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v7.0.1

7.0.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v7.0.0

6.4.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v6.4.0

6.3.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v6.3.0

6.2.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/6.2.0

6.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v6.1.0

6.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v6.0.2

6.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v6.0.1

6.0.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v6.0.0

5.3.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v5.3.0

5.2.1

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v5.2.1

5.2.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v5.2.0

5.1.1

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v5.1.1

5.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v5.1.0

5.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v5.0.2

5.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v5.0.1

5.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v5.0.0

4.1.1

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v4.1.1

4.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v4.1.0

4.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v4.0.1

4.0.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v4.0.0

3.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v3.0.1

3.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v3.0.0

2.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v2.1.0

2.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v2.0.1

2.0.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v2.0.0

1.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v1.1.0

1.0.11

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v1.0.11

1.0.10

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v1.0.10

1.0.9

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v1.0.9

1.0.8

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v1.0.8

1.0.7.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v1.0.7

1.0.6.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v1.0.6

1.0.5

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v1.0.5

1.0.4

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v1.0.4

1.0.3.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v1.0.3

1.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v1.0.2

1.0.1

1.0.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/Numerical_Differentiation_Toolbox-MATLAB/releases/tag/v1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.