Second-order accurate numerical differentiation (N-dimensional)
3,2K download
Aggiornato 8 nov 2010

Visualizza la licenza

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.

Cita come

Darren Rowland (2024). diffxy (https://www.mathworks.com/matlabcentral/fileexchange/29312-diffxy), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R14
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Scopri di più su Linear Algebra in Help Center e MATLAB Answers

Ispirato da: derivative

Ispirato: DGradient

Community Treasure Hunt

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

Start Hunting!


Versione Pubblicato Note della release

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