MATLAB Answers

Matlab code for solving 2D Laplace pde

16 views (last 30 days)
Kornelija Paulauskaite
Kornelija Paulauskaite on 24 Nov 2017
Answered: Precise Simulation on 24 Nov 2017
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 Comments

Sign in to comment.

Answers (1)

Precise Simulation
Precise Simulation on 24 Nov 2017
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 Comments

Sign in to comment.