5.0 | 6 ratings Rate this file 16 Downloads (last 30 days) File Size: 39.1 KB File ID: #38303 Version: 1.3
image thumbnail

Linear Algebra Package


Brian Moore (view profile)


24 Sep 2012 (Updated )

Implements many common linear algebra functions in completely self-contained MATLAB code.

| Watch this File

File Information

This Linear Algebra package implements a vast array of common linear algebra functions. This library is intended to be completely self-contained and instructive to the interested user. Therefore it is implemented solely in MATLAB .m file, contains no external calls to LAPACK, ARPACK, etc. or any non-trivial native MATLAB functions such as eig(), svd(), pinv(), etc., and is carefully documented to help the user understand what is happening "under the hood".
Linear Algebra Package currently supports the following functions:

1) myArnoldi - Arnoldi iteration
2) myCholesky - Cholesky decomposition
3) myCompanionMatrix - companion matrix of a polynomial
4) myCond - condition number
5) myDet - determinant
6) myEIG - eigenvalues/eigenvectors of a symmetric matrix
7) myEIGBalance - eigenvalue stabilizer
8) myEIGs - computes a few eigenvalues/eigenvectors
9) myHessHouseholder - householder reduction to Upper Hessenberg form
10) myImplicitTriQL - Implicitly shifted QL algorithm
11) myImplicitTriQR - Implicitly shifted QR algorithm
12) myInv - Matrix inversion
13) myInvIteration - Inverse Iteration (eigenvectors)
14) myKroneckerProduct - Kronecker product
15) myKroneckerSum - Kronecker sum
16) myLanczos - Lanczos iteration
17) myLanczosR - Lanczos iteration for rectangular matrices
18) myLU - LU decomposition
19) myNullspaceONB - basis for the nullspace of a matrix
20) myPInv - Moore-Penrose pseudoinverse
21) myQL - QL decomposition
22) myQR - QR decomposition
23) myRangeONB - basis for range of a matrix
24) myRank - rank of a matrix
25) myRoots - roots of a polynomial
26) mySPDInv - inverse of a symmetric, positive definite matrix
27) mySPDSqrt - matrix square root of a symmetric, positive definite matrix
28) mySqrt - matrix square root of an arbitrary matrix
29) mySVD - singular value decomposition
30) mySVDc - complex-valued singular value decomposition
31) mySVDs - returns a few singular values/vectors
32) mySymEigHist - Eigenvalue histogram of a matrix
33) myTriBisection - (Eigenvalue) bisection applied for a tridiagonal matrix
34) myTriDiagDet - Determinant of a tridiagonal matrix
35) myTriDiagHouseholder - Householder reduction to tridiagonal form
36) myTriInv - Inverse of a triangular matrix
37) myTriSysSol - Solves a tridiagonal system of equations
38) myUD - UD decomposition
39) myUnitTriInv - Inverse of a unit triangular matrix
40) myUnitTriSysSol - Solves triangular systems of equations

Required Products MATLAB
MATLAB release MATLAB 7.8 (R2009a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (8)
29 Sep 2015 ?

? (view profile)

cannot find any other m-script more useful than yours!
thank you so much~

18 Jul 2015 Brian Moore

Brian Moore (view profile)

@Ehsan: I just downloaded it myself and all the .m files were there.

Perhaps you're confused because the top-level directory contains (1) the license file, and (2) another directory of the same name "Linear Algebra Package" that contains the actual .m files

Comment only
18 Jul 2015 Ehsan golk

How to get this package? there is nothing more than license file in downloading ?
would you help me? thanks

Comment only
23 Jun 2015 Mahmoud KHODEJT KESBA

Thank you so much.

12 Dec 2013 HyeongKoo Lee

02 Nov 2013 Haosense Xu

09 Nov 2012 Everton Ruggeri

15 Oct 2012 Anh

Anh (view profile)

Thank you very much!

This package is really useful for my work

28 Nov 2012 1.1

Adding support for QL decomposition, myQL(), and complex-valued singular value decomposition, mySVDc()

03 Dec 2012 1.2

Adding matrix square root functions - mySPDSqrt() and mySqrt()

26 Feb 2014 1.3

Updating SafeDistance function in mySVD.m, myImplicitTriQL.m, and myImplicitTriQL.m

Contact us