You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Two simple functions that compute the NULL space and ORTHOGONAL basis of a sparse matrix using QR decomposition with row permutation.
For FULL matrices, Matlab stock functions NULL and ORTH use SVD decomposition, which is not available for SPARSE matrix.
Since Matlab 2009B (?), QR decomposition is available for sparse matrices, which can be used to estimate the orthogonal basis without converting matrix in FULL.
Cite As
Bruno Luong (2026). Sparse null space and orthogonal (https://www.mathworks.com/matlabcentral/fileexchange/27550-sparse-null-space-and-orthogonal), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Computation of the Friedrichs and Poincare constants in 2D/3D
General Information
- Version 1.2.0.0 (2.38 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
