How to compute a finite difference with variables that are arrays
2 次查看(过去 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 中查找有关 Boundary Conditions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!