It's known that we can approximate a solution of parabolic equations by replacing the equations with a finite difference equation. Namely, we can solve parabolic equations by Difference Equation Replacement or Crank-Nicolson methods. I need Matlab code of Crank-Nicolson method for attached problem