Access elements of sparse matrix without find()
古いコメントを表示
I am using a toolbox for algorithmic differentiation. The output is a sparse matrix like this:
(1,1) 0 (50,2) 0.17 (99,3) 0.456
How can I access these elements? With find() I lose the first element because one of the derivatives happens to be zero. The index of the first element is known so I assume there must be a way to do that.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Sparse Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!