svd_lls


svd_lls, a MATLAB program which uses the SVD to construct and plot the best affine and linear relationships in the sense of least square, between two vectors of data.

The linear relationship will have the form

  ( y - mean(y) ) = slope * ( x - mean(x) )

The affine relationship will have the form

  y = slope * x + intercept

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

svd_lls is available in a MATLAB version.

Related Data and Programs:

SVD_BASIS, a MATLAB program which computes a reduced basis for a collection of data vectors using the SVD.

svd_circle, a MATLAB program which analyzes a linear map of the unit circle caused by an arbitrary 2x2 matrix A, using the singular value decomposition.

svd_demo, a MATLAB program which demonstrates the Singular Value Decomposition (SVD) for a simple example.

svd_faces, a MATLAB library which applies singular value decomposition (SVD) analysis to a set of images.

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_GRAY, a MATLAB program which reads a gray scale image, computes the Singular Value Decomposition (SVD), and constructs a series of low rank approximations to the image.

svd_lls_test

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.

Reference:

  1. Lloyd Trefethen, David Bau,
    Numerical Linear Algebra,
    SIAM, 1997,
    ISBN: 0-89871-361-7,
    LC: QA184.T74.

Source Code:


Last revised on 11 February 2019.