How to view/plot decomposed matrix from decomposition function
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I'm using MATLAB's new decomposition function. For example, matrix L may be decomposed to dL as
dL = decomposition(L);
However, in the data for the variable dL, I cannot find the decomposed matrix itself. Why not? Where is it?
0 comentarios
Respuestas (1)
Christine Tobler
el 20 de Mzo. de 2018
Hi,
I'm afraid the decomposition object does not provide access to the factors of the decomposition. This is because, depending on the input matrix L, a different decomposition is used (LU decomposition, QR decomposition, Cholesky decomposition, ...). These decompositions use different numbers and types of matrices (P*L*U, Q*R*P, R'*R, ...), and can be represented in different ways (e.g., P can be a permutation matrix or a permutation vector).
Because of this, the decomposition object only supports linear system solving with the original matrix. To access the factors of the decomposition, call the specific decomposition function (LU, QR, CHOL, ...), based on the type of the decomposition that was returned.
0 comentarios
Ver también
Categorías
Más información sobre Linear Algebra en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!