Finite Difference Method
1 view (last 30 days)
Show older comments
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
Shahid Hasnain
on 4 Jul 2018
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.
Ragul Kumar
on 6 Nov 2020
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 ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/404895/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/404890/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/404895/image.png)
kindly send the matlab code for this . mail id: ragulkue@srmist.edu.in
Answers (1)
See Also
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!