How can I invert a big matrix e.g. 1000-by-1000

9 ビュー (過去 30 日間)
Simeon Häbel
Simeon Häbel 2021 年 8 月 26 日
回答済み: Walter Roberson 2021 年 8 月 27 日
I wanted to invert a big matrix in Matlab, but the values Matlab calculated with inv() were all nonsensical.
Is there another option to invert a matrix that big. I attached the Matrix that I want to invert.
Would be nice if someone has a solution for that problem.
  3 件のコメント
KSSV
KSSV 2021 年 8 月 26 日
Why you want to calculate inverse?
Stephen23
Stephen23 2021 年 8 月 27 日
編集済み: Stephen23 2021 年 8 月 27 日
@Simeon Häbel: I will show you the inverse of your matrix, once you have shown me the inverse of my matrix (complete with "sensible" finite values):
M = [1,0,0;0,1,0;0,0,0]
M = 3×3
1 0 0 0 1 0 0 0 0
inv(M) = ?????

サインインしてコメントする。

回答 (2 件)

Christine Tobler
Christine Tobler 2021 年 8 月 26 日
When running inv on this matrix, there's a warning:
>> M = inv(current_Fit_Mat);
Warning: Matrix is close to singular or badly scaled. Results may be
inaccurate. RCOND = 1.323498e-26.
So there's the problem, the matrix is ill-conditioned and so computing its inverse is an ill-defined problem.

Walter Roberson
Walter Roberson 2021 年 8 月 27 日
The matrix is singular. It is 1025 x 1025 but rank 1018.

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by