Solves the problem Ax=b when A is pentadiagonal (5-banded) and strongly nonsingular. This is much faster than x=A\b for large matrices. The algorithm will check to see if A is symmetric and use a more efficient algorithm if it is. Users are encouraged to improve and redistribute this script.
Greg von Winckel (2023). Fast Pentadiagonal System Solver (https://www.mathworks.com/matlabcentral/fileexchange/4671-fast-pentadiagonal-system-solver), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Fast Tridiagonal System Solver
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!