SVD_DEMO is a MATLAB program which demonstrates the computation of the singular value decomposition and a few of its properties.
The singular value decomposition has uses in solving overdetermined or underdetermined linear systems, linear least squares problems, data compression, the pseudoinverse matrix, reduced order modeling, and the accurate computation of matrix rank and null space.
The singular value decomposition of an M by N rectangular matrix A has the form
A(mxn) = U(mxm) * S(mxn) * V'(nxn)where
svd_demo ( m, n, [seed] )where
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
SVD_DEMO is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version.
FINGERPRINTS, a dataset directory which contains a few images of fingerprints.
LAPACK_EXAMPLES, a FORTRAN90 program which demonstrates the use of the LAPACK linear algebra library.
LINPACK, a MATLAB library which includes routines to carry out the singular value decomposition.
SVD_BASIS, a MATLAB program which computes a reduced basis for a collection of data vectors using the SVD.
SVD_FINGERPRINT, a MATLAB program which reads a file containing a fingerprint image and uses the Singular Value Decomposition (SVD) to compute and display a series of low rank approximations to the image.
SVD_SNOWFALL, a MATLAB program which reads a file containing historical snowfall data and analyzes the data with the Singular Value Decomposition (SVD).
SVD_TRUNCATED, a MATLAB program which demonstrates the computation of the reduced or truncated Singular Value Decomposition (SVD) that is useful for cases when one dimension of the matrix is much smaller than the other.
TOMS358, a FORTRAN77 library which computes the singular value decomposition for a complex matrix.
CIRCLE_FORWARD is a simple program that examines what happens when a 2x2 matrix A multiplies vectors on the unit circle.
SVD_DEMO is a program which demonstrates some features of the singular value decomposition:
You can go up one level to the MATLAB source codes.