Efficient Conjugate Gradient Method for Symmetric Banded Matrix
This code uses conjugate gradient method to solve the linear system
Ax= b, where A is symmetric and banded. A is first stored in a
compactstorage mode, using the function "compactstorage", and then
conjugate gradient method is applied to the compactly stored matrix.
Input: A, initial guess x, vector b, tolerance called epsilon and
maximum number of iteration called MaxIter.
Output: computed solution x and number of iteration called Iteration.
Cite As
Michael Akinwumi (2026). Efficient Conjugate Gradient Method for Symmetric Banded Matrix (https://www.mathworks.com/matlabcentral/fileexchange/31153-efficient-conjugate-gradient-method-for-symmetric-banded-matrix), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
