**svd_basis_test**,
a MATLAB code which
calls svd_basis(), which
applies the singular value decomposition (SVD) to
a set of data vectors, to extract the leading "modes" of the data.

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

svd_basis, a MATLAB code which applies the Singular Value Decomposition (SVD) to a collection of data vectors, extracting dominant modes;

- svd_basis_test.m, calls all the tests.
- svd_basis_test.sh, runs all the tests.
- svd_basis_test.txt, the output file.

The input data consists of 5 files:

- data01.txt, input data file #1.
- data02.txt, input data file #2.
- data03.txt, input data file #3.
- data04.txt, input data file #4.
- data05.txt, input data file #5.

The output data consists of 4 files, the first containing the average, and the next three containing the SVD basis vectors:

- svd_000.txt, output SVD file #0 (contains the average, which was requested by the user in the input file.).
- svd_001.txt, output SVD file #1.
- svd_002.txt, output SVD file #2.
- svd_003.txt, output SVD file #3.