Discrete Newton: Newton's method for discrete functions
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
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |