How to view/plot decomposed matrix from decomposition function
13 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Christine Tobler
2018 年 3 月 20 日
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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!