central_diff.m

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

Descargar
Descargar

Ahora está siguiendo esta publicación

Nota del editor: This file was selected as MATLAB Central Pick of the Week

Citar como

Robert Canfield (2026). central_diff.m (https://es.mathworks.com/matlabcentral/fileexchange/12-central_diff-m), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspiración para: central_diff2(y,deltat,d,a), DGradient

Categorías

Más información sobre Interpolation en Help Center y MATLAB Answers.

Etiquetas

Añadir etiquetas

Add the first tag.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión 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.

Descargar
1.0.0

Descargar