central_diff2(y,del​tat,d,a)

版本 1.1.0.0 (1.2 KB) 作者: Benjamin Strom
Finite difference approximation of any order derivative, any accuracy
392.0 次下载
更新时间 2014/11/20

查看许可证

central_diff2(y,deltat,d,a) returns the dth numeric derivative of y to specified accuracy order deltat^a for evenly sampled data (deltat is constant).
Example:
The third derivative of a time series f sampled at 0.01 second increments to accuracy order deltat^4:
third_derivative_of_f=central_diff2(f,0.01,3,4);
Interior points are calculated using the central difference method. First and last points are calculated using forward and backward difference methods. Intermediate point coefficients are calculated using a Vandermode system. The specified accuracy is maintained for all points.

Source for intermediate point algorithm: http://www.siam.org/books/ot98/sample/OT98Chapter1.pdf

引用格式

Benjamin Strom (2024). central_diff2(y,deltat,d,a) (https://www.mathworks.com/matlabcentral/fileexchange/48520-central_diff2-y-deltat-d-a), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

description edits

1.0.0.0