central_diff.m

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

Télécharger
Télécharger

Vous suivez désormais cette soumission

Note de l’éditeur : This file was selected as MATLAB Central Pick of the Week

Citation pour cette source

Robert Canfield (2026). central_diff.m (https://fr.mathworks.com/matlabcentral/fileexchange/12-central_diff-m), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

A inspiré : central_diff2(y,deltat,d,a), DGradient

Catégories

En savoir plus sur Interpolation dans Help Center et MATLAB Answers

Add the first tag.

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version 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.

Télécharger
1.0.0

Télécharger