MATLAB Solving Generalized Crank-Nicolson Problem with MATLAB

  • Thread starter Thread starter flyingcarpet
  • Start date Start date
  • Tags Tags
    generalized Matlab
Click For Summary
The discussion focuses on seeking assistance with implementing the generalized Crank-Nicolson scheme in MATLAB. The user requests MATLAB code and specifically inquires about writing a tri-diagonal solver for the problem. Participants clarify the concept of a tri-diagonal solver, emphasizing its importance in efficiently solving linear systems that arise from discretizing differential equations. The conversation highlights the need for clear coding examples and explanations to facilitate understanding. Overall, the thread aims to provide practical solutions for implementing the Crank-Nicolson method in MATLAB.
flyingcarpet
Messages
2
Reaction score
0
can anybody help me about the attached problem about generalized Crank-Nicolson scheme. I need MATLAB code. How can i write a tri-diagonal solver for this problem?
 

Attachments

  • untitled.JPG
    untitled.JPG
    44.4 KB · Views: 440
Physics news on Phys.org
Can you explain what you mean with tri-diagonal solver?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K