It is a modified version of the Gauss-Seidel method that modifies the solved root with a weighted average for each iteration. The purpose of this is either to make the system convergent or enhances the convergence. It asks the user the coefficient and the RHD (Right-hand side) values matrix, and as well as the relaxation or weighing factor. It also lets the user choose which termination criterion to have, whether a %relative error or number of iterations. It checks if the system is diagonally dominant; if not, it would re-arrange the equations in the most diagonally dominant form possible, ensuring convergence. If the given system cannot be totally diagonally dominant, it alerts the user.
引用格式
Robby Ching (2024). Gauss Seidel with Relaxation (https://www.mathworks.com/matlabcentral/fileexchange/77509-gauss-seidel-with-relaxation), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!