Pseudo inverse - out of memory
2 次查看(过去 30 天)
显示 更早的评论
I have got the following equation:
Where chat and λhat are vectors and (B^T*B), H, B^T*Y and 0 are block matrices. The '+' sign indicates the Moore-Penrose pseudo inverse.
The matrix of which the pseudo inverse has to taken has size 4000 x 4000 and is a sparse matrix.
I am able to use an iterative solver to find chat. However, I would like to obtain the diagonal elements of matrix C1 as well. Unfortunately I cannot use Matlab's pinv function because the matrix is too large. I also tried changing svd into svds inside the pinv function so I am able to work with sparse matrices, but then I still get the out of memory error.
Any ideas?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Algebra 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!