image thumbnail

updated 2 years ago

Teaching Numerical Gradients and Hessians by Brendan Wood

Simple, well-commented Matlab code to demonstrate how to take numerical derivatives and Hessians. (teaching, learning, derivative)

fun(X, NFV)

num_grad(func, X, NFV, h)

num_hess(func, X, NFV, h)

image thumbnail

updated 8 years ago

Numerical derivative of analytic function by Daniel Ennis

Calculate the numerical derivative of an analytic function with different methods. (numerical derivative, complex derivative, differentiate)

dfdx=deriv(f,x,h,method)

Contact us