File Exchange

image thumbnail

Sparse null space and orthogonal

version 1.2.0.0 (2.38 KB) by Bruno Luong
NULL space and ORTHOGONAL basis for sparse matrix

2 Downloads

Updated 10 May 2010

View Version History

View License

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 (2021). Sparse null space and orthogonal (https://www.mathworks.com/matlabcentral/fileexchange/27550-sparse-null-space-and-orthogonal), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

Omar TAHRI

Jan Valdman

It works perfect in Matlab, can you possibly update to work in Octave too? I will get the error message

error: element number 3 undefined in return list

in the command [Q R E] = qr(S); %#ok %full QR

Best, Jan

Kamal El Amraoui

Andrea

Ryan Luong

sumona

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

SparseNullOrth/