How can I program a Matlab code for Gauss-Seidel method that able the users to input any number of equations, n and any input for the matrix coefficient? I did this, but this is for a fix number of equations and known equation's coefficients. I need a code that where both number of equations, n and the value of coefficients (a11, a12, ..) are given by user.How can I program a Matlab code for Gauss-Seide