mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-16 03:34:53 +02:00
Relabel a section to 'Matrix Factorisations
This commit is contained in:
@@ -412,7 +412,7 @@ dot(A,B) % Returns scalar product of two vectors (must have the same length)
|
|||||||
transpose(A) % Returns the transpose of A
|
transpose(A) % Returns the transpose of A
|
||||||
flipl(A) % Flip matrix left to right
|
flipl(A) % Flip matrix left to right
|
||||||
|
|
||||||
% Alternative forms for matrices
|
% Matrix Factorisations
|
||||||
[L, U, P] = lu(A) % LU decomposition: PA = LU
|
[L, U, P] = lu(A) % LU decomposition: PA = LU
|
||||||
[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
|
||||||
|
Reference in New Issue
Block a user