- ‘pinv’ requires costly SVD.
- ‘pinv’ does not work with sparse matrix.
Computing generalized Inverse of a square but sparse matrix?
49 views (last 30 days)
Sanwar Ahmad on 16 Dec 2020
I am trying to find the generalized inverse of a square and sparse matrix. I am using Matlab, however pinv(matrix) doesn't work for sparse matrices. If you have any suggestion or algorithm, please share. Thanks in advance.
Rishabh Mishra on 21 Dec 2020
The disadvantages of using ‘pinv’ to find inverse of sparse matrix are:
Instead, you can use the function ‘pseudo-inverse’ for the same purpose. Refer the following link for documentation of ‘pseudo-inverse’ function.
Hope this helps!