cdiff

First- and second-order complex step derivative approximation

https://github.com/horchler/cdiff

You are now following this Submission

First- and second-order complex step derivative approximation.
cdiff(F,X) returns the first order derivative approximation of the function F evaluated at X. F is a function handle with a single input argument that returns an output of the same dimensions as the floating-point array X.
Inspired by: http://blogs.mathworks.com/cleve/2013/10/14/complex-step-differentiation/

Cite As

Andrew Horchler (2026). cdiff (https://github.com/horchler/cdiff), GitHub. Retrieved .

Categories

Find more on Sparse Matrices in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.0.0

Fixed description

Added image

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.