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.
引用格式
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. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |