Discrete Newton: Newton's method for discrete functions

Compute the discrete Newton's and secant method with discrete data.
93 Downloads
Updated 13 Jul 2018

View License

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 (2024). 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 .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Chemistry in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0