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 (2024). 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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |