central_diff.m

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

Herunterladen
Herunterladen

Sie verfolgen jetzt diese Einreichung

Anmerkung des Herausgebers: This file was selected as MATLAB Central Pick of the Week

Zitieren als

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

Quellenangaben

Inspiriert: central_diff2(y,deltat,d,a), DGradient

Kategorien

Mehr zu Interpolation finden Sie in Help Center und MATLAB Answers

Add the first tag.

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise 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.

Herunterladen
1.0.0

Herunterladen