System resolution function with Gauss-Seidel method
System resolution function with Gauss-Seidel method
Seidel function is a function created to solve linear systems that
have matrix of scattered coefficients.
This function receives in input the matrix of coefficients A even in
compact notation, vector of terms known, tolerance and maximum
number of iterations so you can write the command
[ sol, res, err, nit ] = seidel(A,b, TOL, NMAX ) or
[ sol, res, err, nit ] = seidel(A,b)
The function returns the vector of solutions sol, the
residue vector res, the relative error err and the number of iterations
made nit and estimation of convergence speed rho
The function stops if it reaches the desired tolerance
or if the number of iterations has reached its maximum,
in this case the function will give a warning
TOL and NMAX input parameters are optional.
CREATED BY GIOVANNI D'AVANZO Università della Campania "Luigi Vanvitelli"
A.A. 2016/2017
인용 양식
Giovanni D'Avanzo (2024). System resolution function with Gauss-Seidel method (https://www.mathworks.com/matlabcentral/fileexchange/63598-system-resolution-function-with-gauss-seidel-method), 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!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |