System resolution function with Gauss-Seidel method

System resolution function with Gauss-Seidel method
48 téléchargements
Mise à jour 1 juil. 2017

Afficher la licence

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

Citation pour cette source

Giovanni D'Avanzo (2026). System resolution function with Gauss-Seidel method (https://fr.mathworks.com/matlabcentral/fileexchange/63598-system-resolution-function-with-gauss-seidel-method), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2016a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Linear Algebra dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.0.0.0