How to compute a finite difference with variables that are arrays
1 回表示 (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/162705/image.png)
Hi, I have to compute the above. The methodology is
1. Solve initial condition X(1), X(2), X(3)
2. Solve for i using the previous and subsequent nodes
3. For the new i+1 values, re-solve for i using the new i+1 values across the domain
4. Compute the Xi until the value at i=n have converged between previous and new values.
X and Y are arrays. Can you help me with a tutorial or a pseudo code so that I can attempt to solve this ? Any help is greatly appreciated.
Thanks
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Partial Differential Equation Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!