Inverse of higher order matrix
4 views (last 30 days)
Show older comments
Hello there,
I am trying to get inverse of a 80,000 order matrix but the calculation is taking too much time. Is there any fastest way or method to calculate the inverse of a matrix?
Answers (2)
Christine Tobler
on 10 Feb 2021
Another way of looking at the equations x*Q = 0 and x e = 1 is as an equation system x * [Q e] = [0 1], which you could solve using
A = [Q, ones(n, 1)]';
b = [zeros(n, 1); 1];
x = A \ b;
or if this is too slow, you could try an iterative algorithm:
x = lsqr(A, b);
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!