How to improve performance of sparse matrix indexing in Matlab?

1 view (last 30 days)
I have a big sparse matrix and it takes lot of time to execute the whole code.
  1 Comment
Steven Lord
Steven Lord on 1 Mar 2016
How big is "big sparse matrix"?
How sparse is it -- what percentage of the elements are nonzero?
What are you doing with this sparse matrix?
Are you certain that the sparse matrix indexing is the bottleneck of your code?
With the answers to these questions we have a chance at offering potential improvements to the code.

Sign in to comment.

Answers (1)

Nana August
Nana August on 1 Mar 2016
Sparse matrix always need a lot memory in Matlab, maybe you can try Visual C++.

Products

Community Treasure Hunt

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

Start Hunting!