Linear Diffusion 1D with MATLAB

Thank you Xiaoming Fu for the the following codes!

Download the code for Dirichlet boundary conditions

problem

Download the code for Neumann boundary conditions
problem

Download the code for Periodic boundary conditions
problem