central_diff.m

Calculates numeric gradient using second-order difference formula for unevenly spaced data

下载
下载

您现在正在关注此提交

编者注: This file was selected as MATLAB Central Pick of the Week

引用格式

Robert Canfield (2026). central_diff.m (https://ww2.mathworks.cn/matlabcentral/fileexchange/12-central_diff-m), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: central_diff2(y,deltat,d,a), DGradient

类别

在 Help Center 和 MATLAB Answers 中查找有关 Interpolation 的更多信息

标签

添加标签

Add the first tag.

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
2.0.0

Second-order accurate forward and backward difference formulae are used now at the left and right ends, instead of first-order forward/backward differences at the ends. Logical operators & and | were replaced with && and ||, respectively.

下载
1.0.0

下载