Central finite differences method

Versión 1.0.1 (2,28 KB) por Li
This function allows to calculate the coefficients following the central finite difference theory
80 Descargas
Actualizado 27 abr 2025

Ver licencia

This function allows to calculate the coefficients weighting the function values at different points according to central finite differences theory.
It should be noted that the points are equispaced.
These coefficients according to specific equations cited in the attached function file, allow to estimate the derivative of any order id and of any order of accuracy ac
The function has 2 inputs consisting of the wanted id and ac, and has two outputs that are np the number of points and co the coefficients.
This matlab function uses the solve function from symbolic math toolbox and has been created with Matlab R2016-student.

Citar como

Li (2025). Central finite differences method (https://es.mathworks.com/matlabcentral/fileexchange/124850-central-finite-differences-method), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2016a
Compatible con R2016a
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Versión Publicado Notas de la versión
1.0.1

old version corrupted
the MATLAB code needs to be ameliorated

1.0.0