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

Version 1.6.0.0 (1.15 KB) by Sazzad
1st derivative of tanh(k(x-1)) numerically using 6th order compact finite difference method
139 Downloads
Updated 4 Oct 2015

View License

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 (2024). 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 .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear Algebra in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.6.0.0