image thumbnail

1st Derivative of a function using Compact Finite Derivative Method

version 1.5.0.0 (2.59 KB) by Syed Hasib Akhter Faruqui
1st Derivative of a function using Compact Finite Derivative Method Based on paper by LELE

185 Downloads

Updated 01 Oct 2015

View License

Using the Method of Compact Finite Derivative based on a paper by LELE (http://home.eps.hw.ac.uk/~ab226/tmp/implicit/Lele_92.pdf) 1st derivative of the function "u=tanh[k(x-1)] in the domain[0,5] for k=5,20 is calculated. In the Scheme 4th Order Compact Finite Difference Method for the interior points and 3rd Order finite Difference for the boundary was Implied. And later on was compared with the exact solution.

Cite As

Syed Hasib Akhter Faruqui (2022). 1st Derivative of a function using Compact Finite Derivative Method (https://www.mathworks.com/matlabcentral/fileexchange/53338-1st-derivative-of-a-function-using-compact-finite-derivative-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!