central_diff.m

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

Scarica
Scarica

Al momento, stai seguendo questo contributo

Nota dell'editore: This file was selected as MATLAB Central Pick of the Week

Cita come

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

Riconoscimenti

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

Categorie

Scopri di più su Interpolation in Help Center e MATLAB Answers

Add the first tag.

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release 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.

Scarica
1.0.0

Scarica