I finally figured it out... I believe, at least. I'll go ahead and post the code for reference for future visitors who may run into the same issues.
http://www.filefront.com/14925931/ADI-Matlab-Mixed-BC.pdf/
It seems to converge to second-order accuracy with larger and larger mesh size. Other...
Hi,
I've been having some difficulty with Matlab. I keep getting confused with the indexing and the loops.
To set up the code, I am trying to implement the ADI method for a 2-D heat equation (u_t=u_xx+u_yy+f(x,y,t)). I have Dirichlet boundary conditions on the left, upper, and lower...
I am solving a coupled system of non-linear PDE's.
What am I doing wrong in the procedure? It says, "Error, (in pdsolve/sys) too many arguments; some or all of the following are wrong: [[k(x, y), p(x, y)], {diff(k(x, y), y) = 0, diff(p(x, y), y) = 0}]". I am trying to imposed zero boundary...