You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This function calculate Gauss elimination with complete pivoting.
G)aussian (E)limination (C)omplete (P)ivoting
Input
A nxn matrix
Output
L = Lower triangular matrix with ones as diagonals
U = Upper triangular matrix
P and Q permutations matrices so that P*A*Q = L*U
examples :
[L U] = gecp(A);
[L U P] = gecp(A);
[L U P Q] = gecp(A);
Cite As
Nickolas Cheilakos (2026). Gauss elimination with complete pivoting (https://www.mathworks.com/matlabcentral/fileexchange/13451-gauss-elimination-with-complete-pivoting), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: LU factorization with complete pivoting., Gauss elimination using pivot element
General Information
- Version 1.2.0.0 (1.42 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
