How can I invert a big matrix e.g. 1000-by-1000
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
Respuestas (2)
Christine Tobler
el 26 de Ag. de 2021
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.
0 comentarios
Walter Roberson
el 27 de Ag. de 2021
The matrix is singular. It is 1025 x 1025 but rank 1018.
0 comentarios
Ver también
Categorías
Más información sobre Logical 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!