Approximation of Derivatives in MATLAB
tomopt.com › docs › tomlab13 Approximation of Derivatives This section about derivatives is particulary important from a practical point of view. It often seems to be the case that either it is nearly impossible or the user has difficulties in coding the derivatives. For information about supplying partial derivatives see the Prob parameter CheckNaN in Appendix A.