Randomized LU Decomposition

Low rank approximation using randomized LU decomposition
136 Downloads
Updated 2 Jan 2017

View License

This code computes a low rank approximation of an LU decomposition of a matrix.
Given an input matrix A of size m-by-n and a desired rank k, the function returns four matrices: L,U,P,Q such that L and U are trapezoidal matrices and P,Q are orthogonal permutation matrices (represented as vectors) such that norm(A(P,Q)-L*U) is bounded by a constant proportional the kth singular value of A with high probability.
The code and the algorithm is based on the paper (check for more details):
G. Shabat, Y. Shmueli, Y. Aizenbud, A. Averbuch; "Randomized LU Decomposition"; Applied and Computational Harmonic Analysis, DOI: 10.1016/j.acha.2016.04.006, 2016
The attached code includes GPU implementation as well.

Cite As

Gil Shabat (2025). Randomized LU Decomposition (https://www.mathworks.com/matlabcentral/fileexchange/60975-randomized-lu-decomposition), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear Algebra in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

description slightly changed