Finite Difference Method

I am trying to solve a 2nd order PDE with variable coefficients using finite difference scheme. Is there any code in Matlab for this? Any suggestion how to code it for general 2n order PDE.

2 Comments

You can use ADI (Alternating Direction Implicit) scheme (Its efficient for any reason), Please let me know your email.I can send you MATLAB Code.
Dear Shahid Hasnain sir,
Many Greetings. I am trying to solve the crank nicolson scheme of finite difference scheme. Is there any code in Matlab for this? Any suggestion how to code it for general second order PDE.boundary condition is
kindly send the matlab code for this . mail id: ragulkue@srmist.edu.in

Sign in to comment.

Tags

Asked:

on 7 Aug 2011

Commented:

on 6 Nov 2020

Community Treasure Hunt

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

Start Hunting!