Solving 1st derivative of a function numerically using 6th order compact finite difference method

1st derivative of tanh(k(x-1)) numerically using 6th order compact finite difference method

You are now following this Submission

1st derivative of f=tanh(k(x-1)) in the domain (0,5) using 5 point compact symmetric stencil for the interior points and one sided explicit stencil for the boundary points. Here, matrix method was used.

Cite As

Sazzad (2026). Solving 1st derivative of a function numerically using 6th order compact finite difference method (https://www.mathworks.com/matlabcentral/fileexchange/53358-solving-1st-derivative-of-a-function-numerically-using-6th-order-compact-finite-difference-method), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Linear Algebra in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.6.0.0