Rank-2 update to LU Factorization

Solve an LU-factorized system with rank-2 update.

You are now following this Submission

This script solves the system Ax=b, where A is given in terms of its LU factors plus a rank-2 update.

A=LU+u1*v1'+u2*v2'

A, L, and U must all be nonsingular. Solves the linear system in O(n^2) operations.

Cite As

Greg von Winckel (2026). Rank-2 update to LU Factorization (https://www.mathworks.com/matlabcentral/fileexchange/8270-rank-2-update-to-lu-factorization), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0