Discrete Newton: Newton's method for discrete functions

Compute the discrete Newton's and secant method with discrete data.

You are now following this Submission

This function is a modified Newton method that works with discrete data, i.e., computes the derivative of the data numerically. The derivative at any point is taken as the mean of the slope of the function to the right and the left.
The secant method is also programmed in the function and the user can select either of them. The code is heavily commented to make it easy to understand and modifiy. A lot of variable validation, printing and plotting is employed as well.

Cite As

Santiago Benito (2026). Discrete Newton: Newton's method for discrete functions (https://www.mathworks.com/matlabcentral/fileexchange/68170-discrete-newton-newton-s-method-for-discrete-functions), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Chemistry in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0