diffxy

Second-order accurate numerical differentiation (N-dimensional)

您现在正在关注此提交

In its simplest usage DIFFXY uses a second-order accurate scheme to approximate the derivative of a vector y with respect to a vector x. It differs from existing functions in the following ways:

- returns dydx having the same size as y (unlike DIFF which reduces the dimension by 1)
- special treatment of end-points for higher accuracy
- specifically built to handle unequally spaced data

DIFFXY also has the following capabilities

- x and y can be N-dimensional arrays
- operate on chosen dimension of N-d arrays
- computes higher-order derivatives via iteration

See the Help section and demo file for examples and further information.
Please suggest any improvements/report any bugs either in the comments or via email.

引用格式

Darren Rowland (2026). diffxy (https://ww2.mathworks.cn/matlabcentral/fileexchange/29312-diffxy), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: derivative

启发作品: DGradient

类别

Help CenterMATLAB Answers 中查找有关 Linear Algebra 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

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

9 Nov 2010 - minor update to demo file to correct figure legend and screenshot

1.0.0.0