Matlab code for solving 2D Laplace pde
    7 ビュー (過去 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 で Eigenvalue Problems についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


