Comment explaining LU decomposition

This commit is contained in:
James Scott-Brown 2013-09-15 01:48:02 +01:00
parent 372e79a3fb
commit e0f9a4dab3

View File

@ -413,7 +413,7 @@ transpose(A) % Returns the transpose of A
flipl(A) % Flip matrix left to right flipl(A) % Flip matrix left to right
% Matrix Factorisations % Matrix Factorisations
[L, U, P] = lu(A) % LU decomposition: PA = LU [L, U, P] = lu(A) % LU decomposition: PA = LU,L is lower triangular, U is upper triangular, P is permutation matrix
[P, D] = eig(A) % eigen-decomposition: AP = PD, P's columns are eigenvectors and D's diagonals are eigenvalues [P, D] = eig(A) % eigen-decomposition: AP = PD, P's columns are eigenvectors and D's diagonals are eigenvalues
[U,S,V] = svd(X) % SVD: XV = US, U and V are unitary matrices, S has non-negative diagonal elements in decreasing order [U,S,V] = svd(X) % SVD: XV = US, U and V are unitary matrices, S has non-negative diagonal elements in decreasing order