Matlab code for solving 2D Laplace pde
조회 수: 12 (최근 30일)
이전 댓글 표시
I already discretized pde by central difference method, but not sure how to create a code for iterative methods such as Jacobi and Gauss Seidel.
댓글 수: 0
답변 (2개)
Precise Simulation
2017년 11월 24일
Sparse linear solvers are already available in Matlab, the backslash operator per default uses the Umfpack direct solver
y = A\x;
help \
for iterative solvers you can for example use gmres or bicg
help gmres
help bicg
댓글 수: 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!