SVDS returns empty matrix.

2 ビュー (過去 30 日間)
Manjot Singh
Manjot Singh 2015 年 11 月 29 日
回答済み: Walter Roberson 2015 年 11 月 29 日
I have a 1000x1000 sparse matrix A. I am calling svds(A,10). I am getting an empty matrix as a result. I can't understand why am I getting this result. I visualized this matrix and found out that most of the non-zero elements appear to be along the diagonal. Is the result of svds an empty matrix because of the the placement of non-zero elements along the diagonal of the matrix?

採用された回答

Walter Roberson
Walter Roberson 2015 年 11 月 29 日
"svds checks the accuracy of the computed singular vectors. If the vectors are not accurate enough, then svds returns fewer singular values than requested. To obtain the requested number of singular values, try decreasing the error tolerance in the options structure."

その他の回答 (0 件)

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by