This MATLAB function implements the Thomas algorithm to solve tridiagonal systems of equations. It takes the subdiagonal, diagonal and superdiagonal coefficients of the tridiagonal matrix as inputs, along with the right hand side vector, and returns the solution vector. The function uses Gaussian elimination with partial pivoting to solve the system iteratively.
This MATLAB function implements the Thomas algorithm to solve tridiagonal systems of equations. It takes the subdiagonal, diagonal and superdiagonal coefficients of the tridiagonal matrix as inputs, along with the right hand side vector, and returns the solution vector. The function uses Gaussian elimination with partial pivoting to solve the system iteratively.
This MATLAB function implements the Thomas algorithm to solve tridiagonal systems of equations. It takes the subdiagonal, diagonal and superdiagonal coefficients of the tridiagonal matrix as inputs, along with the right hand side vector, and returns the solution vector. The function uses Gaussian elimination with partial pivoting to solve the system iteratively.