Finite Difference Method
faculty.washington.edu › pde › FDFinite Difference Method using MATLAB. This section considers transient heat transfer and converts the partial differential equation to a set of ordinary differential equations, which are solved in MATLAB. This method is sometimes called the method of lines. We apply the method to the same problem solved with separation of variables. It represents heat transfer in a slab, which is insulated at x = 0 and whose temperature is kept at zero at x = a.
Finite difference derivatives - File Exchange - MATLAB Central
it.mathworks.com › matlabcentral › fileexchangeMay 31, 2020 · First derivative of u along 1st dimension. Forward, one-sided, 3rd order accurate finite difference formulation. A separation of 0.01 between consecutive locations. % Example 2: dfd(u,2,6,2,0.05); OR dfd(u,2,6,2,0.05,'central'); Second derivative of u along 2nd dimension. Central, 6th order accurate finite difference formulation.